Enable devirtualization opportunities by using the final specifier (C++11) #10847

pull practicalswift wants to merge 1 commits into bitcoin:master from practicalswift:devirtualization changing 2 files +2 −2
  1. practicalswift commented at 9:23 PM on July 16, 2017: contributor

    Enable devirtualization opportunities by using the final specifier (C++11).

    • Declaring CCoinsViewErrorCatcher final enables devirtualization of two calls
    • Declaring CReserveKey final enables devirtualization of one call
  2. sipa commented at 9:34 PM on July 16, 2017: member

    See also #10809

  3. Enable devirtualization opportunities by using the final specifier (C++11)
    * Declaring CCoinsViewErrorCatcher final enables devirtualization of two calls
    * Declaring CReserveKey final enables devirtualization of one call
    db53d980af
  4. practicalswift force-pushed on Jul 16, 2017
  5. practicalswift commented at 9:45 PM on July 16, 2017: contributor

    @sipa Thanks for letting me know about @theuni:s PR #10809! I've now removed the changes to the overlapping classes from this PR. @theuni, let me know if you want to incorporate the changes to the remaining two classes in your PR #10809 instead. If so, I'll close this one :-)

  6. TheBlueMatt commented at 10:35 PM on July 16, 2017: member

    utACK db53d980af65adeff1d8816ebbb4997ab780e6dd

  7. fanquake added the label Refactoring on Jul 17, 2017
  8. laanwj commented at 6:07 AM on July 17, 2017: member

    Can we try to do this in one go with #10809? Seems nonsense to have multiple PRs open for this.

  9. practicalswift commented at 7:55 AM on July 17, 2017: contributor

    @laanwj Makes sense - closing! :-)

  10. practicalswift closed this on Jul 17, 2017

  11. practicalswift deleted the branch on Apr 10, 2021
  12. DrahtBot locked this on Aug 16, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me