News for hackers. Stuff that matters.
Re:Simdjson 0.3: Faster JSON parser by jkeiser on Wednesday April 01, 2020 @12:41PM (#22750655)
simdjson does not modify the input, fyi. Rather than \0, which isn't really a part of JSON, the SIMD instructions search for whitespace and JSON structure like commas, colons, etc.
Re:Simdjson 0.3: Faster JSON parser by eska on Friday April 03, 2020 @02:55PM (#22772822)
Yeah, sorry I didn't feel like giving some guy who hasn't even read the article a full explanation. However I saw in a presentation on YouTube that these characters are replaced (e.g. ") to then apply SIMD instructions. This implies copies and allocations. But these are necessary, and it would not be possible to achieve this with indices.