2 ms·
I don't really understand what's new here compared to what SIMDJSON supported already. Anyways, it's the best JSON parser I found (in any language), I implemen
by xiphias2 3y ago
I don't really understand what's new here compared to what SIMDJSON supported already.
Anyways, it's the best JSON parser I found (in any language), I implemented fastgron (https://github.com/adamritter/fastgron https://github.com/adamritter/fastgron) on top of it because of the on demand library performance.
One problem with the library was that it needed extra padding at the end of the JSON, so it didn't support streaming / memory mapping.
- asa400 3y agoNice work! I will have to check out your implementation and see if I can borrow any of your optimization ideas. I built jindex (https://github.com/ckampfe/jindex https://github.com/ckampfe/jindex) because I also wanted a faster gron!
- TkTech 3y agoThis on-demand model has been implemented in simdjson for awhile. This is just the release of the paper. Previously, simdjson only had a DOM model, where the entire document was parsed in one shot.