diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-10-28 19:12:39 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-11-07 13:56:27 -0800 |
commit | d59a518466f6b9012666a3f9392ec12fff8830b5 (patch) | |
tree | d851ca45a75edab810626eed6708d11107a24dea /src/qt | |
parent | 25a211aa9edfeccc1e65bf699e0b32619cef2157 (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/qt')
0 files changed, 0 insertions, 0 deletions