3 ms·
> JSON65 supports incremental parsing, so you can freely feed it any sized chunks of input, and you don't need to have the whole file in memory at once. It bog
by zamalek 6y ago
> JSON65 supports incremental parsing, so you can freely feed it any sized chunks of input, and you don't need to have the whole file in memory at once.
It boggles the mind that we have a high quality JSON parser that supports this on such a constrained system, where many of the high-level language libraries that run on massively faster hardware don't.
- lifthrasiir 6y agoBecause it is slower? Many performant JSON parsers optimize parsing by batching, so it isn't constrained by possibly much slower I/O bottleneck. Also JSON65 itself does have a string size limit of 255 bytes.
- speedgoose 6y agoIt's because there is no need for that and when you need to load a JSON that doesn't fit in memory you can use better dedicated tools.
- shultays 6y agoIt supports that because it is a constrained system