Branch: refs/heads/master
Home: https://github.com/conformal/btcwire
Commit: 9b7e3527b0a87c6b0d353ff45642cb560d2440d1
https://github.com/conformal/btcwire/commit/9b7e3527b0a87c6b0d353ff45642cb560d2440d1
Author: Dave Collins <[email protected]>
Date: 2013-11-06 (Wed, 06 Nov 2013)
Changed paths:
M msgtx.go
Log Message:
-----------
Optimize transaction Deserialize.
The benchmark results for the current commit:
Before: BenchmarkDeserializeTx 500000 4018 ns/op
After: BenchmarkDeserializeTx 500000 3780 ns/op
The cumulative benchmark results since commit
b7b700fd5aebb86addc93efecaa367a2f4976058:
Before: BenchmarkDeserializeTx 200000 10665 ns/op
After: BenchmarkDeserializeTx 500000 3780 ns/op
This is part of the ongoing effort to optimize serialization as noted in
conformal/btcd#27.