aboutsummaryrefslogtreecommitdiff
path: root/src/bench/bench.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-10-28 19:12:39 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2016-11-07 13:56:27 -0800
commitd59a518466f6b9012666a3f9392ec12fff8830b5 (patch)
treed851ca45a75edab810626eed6708d11107a24dea /src/bench/bench.h
parent25a211aa9edfeccc1e65bf699e0b32619cef2157 (diff)
Use fixed preallocation instead of costly GetSerializeSize
Dbwrapper used GetSerializeSize() to compute the size of the buffer to preallocate. For some cases (specifically: CCoins) this requires a costly compression call. Avoid this by just using fixed size preallocations instead.
Diffstat (limited to 'src/bench/bench.h')
0 files changed, 0 insertions, 0 deletions