logoalt Hacker News

MrDarcytoday at 1:03 PM2 repliesview on HN

TIL serializing a protobuf is only 5 times slower than copying memory, which is way faster than I thought it’d be. Impressive given all the other nice things protobuf offers to development teams.


Replies

dietr1chtoday at 2:37 PM

I guess that number is as good or as bad as you want with the right nesting.

Protobuf is likely really close to optimally fast for what it is designed to be, and the flaws and performance losses left are most likely all in the design space, which is why alternatives are a dime a dozen.

nicman23today at 1:31 PM

that actually crazy fast