Comment by jeffbee
4 hours ago
Serializing a protobuf can be significantly faster than memcpy, depending. If you have a giant vector of small numbers represented with wide types (4-8 bytes in the machine) then the cost of copying them as variable-length symbols can be less.
No comments yet
Contribute on Hacker News ↗