Test Details Overview

Reserve a message's buffer from its header

The header tells the size of every payload it can describe, so the vector a message is serialized into now reserves that size up front. The stream still writes through its own buffer, so a message that fits that buffer allocates as before, while a larger one no longer grows its vector in steps.

__________

Type: commit

Hash: d9637801ea6755879859201fcdb15d732839790a

Created: today

__________

gr0v1ty/nano-node:d9637801ea6755879859201fcdb15d732839790a

Test Results

Test Case Status Duration Median Deviation Log Graph