Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: 064cc8e7c37e825d80628404e08fc9cd87fcc1a1
https://github.com/btcsuite/btcd/commit/064cc8e7c37e825d80628404e08fc9cd87fcc1a1
Author: Dave Collins <[email protected]>
Date: 2015-09-28 (Mon, 28 Sep 2015)
Changed paths:
M txscript/script.go
Log Message:
-----------
txscript: Optimize DisasmString function.
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.