Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Up to 100x Faster FastAPI with simdjson and io_uring on Linux 5.19. Parent comment
We needed it for streaming large json from async server sockets.
Code link: https://github.com/Edgio/is2/blob/master/include/is2/support...
You just had to implement the interfaces like Peek/Take/Tell/etc. It worked really well for us.
Probably not as fast as simdjson, but they used some simd tricks I think for skipping whitespace:
https://rapidjson.org/md_doc_internals.html#SkipwhitespaceWi...
There are no comments on this comment yet.
We needed it for streaming large json from async server sockets.
Code link: https://github.com/Edgio/is2/blob/master/include/is2/support...
You just had to implement the interfaces like Peek/Take/Tell/etc. It worked really well for us.
Probably not as fast as simdjson, but they used some simd tricks I think for skipping whitespace:
https://rapidjson.org/md_doc_internals.html#SkipwhitespaceWi...