mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Optimize readVarString.
Before: BenchmarkReadVarStr4 1000000 1698 ns/op BenchmarkReadVarStr10 1000000 1812 ns/op After: BenchmarkReadVarStr4 2000000 853 ns/op BenchmarkReadVarStr10 5000000 712 ns/op This is part ef the ongoing effort to optimize serialization as noted in conformal/btcd#27.
This commit is contained in:
parent
b830e2ddf3
commit
4002051a22
Loading…
x
Reference in New Issue
Block a user