Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: eecea4180a420eda6baa4ee91ccc5ddc8bb0b0a6
https://github.com/conformal/btcd/commit/eecea4180a420eda6baa4ee91ccc5ddc8bb0b0a6
Author: David Hill <[email protected]>
Date: 2014-03-20 (Thu, 20 Mar 2014)
Changed paths:
M rpcwebsocket.go
Log Message:
-----------
Preallocate the tx serialization buffer.
Benchmarking shows this is slightly faster due to avoiding the extra
garbage collection in addition to less peak memory usage.
ok @davecgh