Actions
Task #4159
closedOptimize Block::encode() implementation
Start date:
Due date:
% Done:
100%
Estimated time:
3.00 h
Description
Currently, Block::encode() uses BlockStream API to create wire encoding of an unknown size. As a result, it is not quite as optimal (time-wise), as may require multiple memory (re-)allocations. The optimized version should use Encoding and Estimating encoder APIs.
There is one complication though. The optimized version would need to support recursive encoding of sub-blocks, which may complicate things a bit.
Updated by Junxiao Shi over 7 years ago
- Status changed from New to In Progress
- Assignee set to Junxiao Shi
- Estimated time set to 3.00 h
Updated by Junxiao Shi over 7 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
Updated by Junxiao Shi over 7 years ago
- Status changed from Code review to Closed
Actions