Skip to content
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

txscript: Optimize DisasmString function. #508

Merged
merged 1 commit into from
Sep 28, 2015

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Sep 28, 2015

This pull request modifies the DisasmString function to use a bytes buffer for constructing the disassembled string instead of naive string concatenation. This makes a huge difference when disassembling scripts with large numbers of opcodes.

This commit modifies the DisasmString function to use a bytes buffer for
constructing the disassembled string instead of naive string
concatenation.  This makes a huge difference when disassembling scripts
with large numbers of opcodes.
@dajohi
Copy link
Member

dajohi commented Sep 28, 2015

OK

@conformal-deploy conformal-deploy merged commit 064cc8e into btcsuite:master Sep 28, 2015
@davecgh davecgh deleted the optimize_disasmstring branch September 28, 2015 18:42
jcvernaleo pushed a commit to jcvernaleo/btcd that referenced this pull request Dec 14, 2016
Switch to using P-521 for certs created by dcrd and gencerts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants