Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: