Skip to content

Conversation

@practicalswift
Copy link
Contributor

@practicalswift practicalswift commented Jul 16, 2017

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

@sipa
Copy link
Member

sipa commented Jul 16, 2017 via email

…++11)

* Declaring CCoinsViewErrorCatcher final enables devirtualization of two calls
* Declaring CReserveKey final enables devirtualization of one call
@practicalswift
Copy link
Contributor Author

practicalswift commented Jul 16, 2017

@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 :-)

@TheBlueMatt
Copy link
Contributor

utACK db53d98

@laanwj
Copy link
Member

laanwj commented Jul 17, 2017

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

@practicalswift
Copy link
Contributor Author

@laanwj Makes sense - closing! :-)

@practicalswift practicalswift deleted the devirtualization branch April 10, 2021 19:32
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants