New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid allocation in build_scriptint #1033
Conversation
I like this approach -- but I think there's a more elegant way to do this, where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK c80dbc2
acking this version, as not to let the perfect be the enemy of the good. It's great to eliminate an allocation!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK c80dbc2
use super::build_scriptint; | ||
use super::write_scriptint; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can just delete these lines, wildcard import right above :) Probably not worth requiring re-acks just to do this though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK
…tint c80dbc2 Avoid allocation in build_scriptint (Steven Roose) Pull request description: Hehe, reason for party, let's invite apoelstra ! ACKs for top commit: apoelstra: ACK c80dbc2 tcharding: ACK c80dbc2 Tree-SHA512: 8446e765d8b9fa562f636817327db6fad4bb9c906d3f69fda76e61cd258fc4c296e6ffaa440a357125c2ab45603eb05c58cb8d6822deea2fe5746e5c7c3f1e4d
Hehe, reason for party, let's invite apoelstra !