Skip to content

Pre-allocate the Message vector

Zeeshan Ali Khan requested to merge prealloc-msg into master

Since the body's length is already known, we should already allocate all the memory needed for the serialized bytes of the message.

Fixes #30 (closed).

Edited by Zeeshan Ali Khan

Merge request reports

Loading