News for hackers. Stuff that matters.
Re:PyPy's New JSON Parser by acdha on Tuesday October 08, 2019 @04:46PM (#21197042)
Again, note the qualifiers: nobody is arguing that faster JSON parsing isn't a good thing, only that anything measured in the millions is probably not considered “small”. A significant amount of code is never profiled since it's fast enough and if someone does find the stdlib json library to be using enough time to care about it is certainly easily replaced.
Re:PyPy's New JSON Parser by IanCal on Tuesday October 08, 2019 @04:57PM (#21197182)
The small qualifier seemed to be on the size of the documents, and on small documents I see a 2x or often higher improvement. At a scale of 10k docs that's still 100ms difference, and in my case can be a huge proportion of the total time spent (more with larger docs, and more again if you include encoding time).