aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-10-28 19:12:39 -0700
committerPieter Wuille <[email protected]>2016-11-07 13:56:27 -0800
commitd59a518466f6b9012666a3f9392ec12fff8830b5 (patch)
treed851ca45a75edab810626eed6708d11107a24dea /src/httpserver.cpp
parentAdd optimized CSizeComputer serializers (diff)
downloaddiscoin-d59a518466f6b9012666a3f9392ec12fff8830b5.tar.xz
discoin-d59a518466f6b9012666a3f9392ec12fff8830b5.zip
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/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions