HomePhabricator

Add optimized CSizeComputer serializers

Description

Add optimized CSizeComputer serializers

To get the advantages of faster GetSerializeSize() implementations
back that were removed in "Make GetSerializeSize a wrapper on top of
CSizeComputer", reintroduce them in the few places in the form of a
specialized Serialize() implementation. This actually gets us in a
better state than before, as these even get used when they're invoked
indirectly in the serialization of another object.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Oct 29 2016, 00:50
deadalnixPushed on May 14 2017, 22:04
Parents
rABCa2929a26f5cf: Make CSerAction's ForRead() constexpr
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rABC25a211aa9edf: Add optimized CSizeComputer serializers (authored by Pieter Wuille <pieter.wuille@gmail.com>).Nov 7 2016, 21:56