Branch: refs/heads/master
Home: https://github.com/conformal/btcwire
Commit: bc85a3101699e5e4f33dd9abd90fead9d6c11727
https://github.com/conformal/btcwire/commit/bc85a3101699e5e4f33dd9abd90fead9d6c11727
Author: Dave Collins <[email protected]>
Date: 2013-11-06 (Wed, 06 Nov 2013)
Changed paths:
M common.go
Log Message:
-----------
Optimize readElement.
The following benchmark results show the results for deserializing a block
header:
Before: BenchmarkReadBlockHeader 500000 5916 ns/op
After: BenchmarkReadBlockHeader 1000000 2078 ns/op
This is part of the ongoing effort to optimize serialization as noted in
conformal/btcd#27.