Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Fast key-value stores: An idea whose time has come and gone. Parent comment
I think most serialization frameworks are likely to be overkill for such a use case, spending more time on setup than actual parsing.
Also note that storing the value (and maybe the key) with proper alignment might make it easier to use the data in-place, saving a copy.
There are no comments on this comment yet.
I think most serialization frameworks are likely to be overkill for such a use case, spending more time on setup than actual parsing.
Also note that storing the value (and maybe the key) with proper alignment might make it easier to use the data in-place, saving a copy.