5 ms·
On the other hand: I'm a bit surprised at how many people are writing JSON and care about the performance. The overwhelming majority of our IO is reading / wri
by dguest 7y ago
On the other hand: I'm a bit surprised at how many people are writing JSON and care about the performance.
The overwhelming majority of our IO is reading / writing data files, but those are stored in an optimized binary format. The configuration / metadata accounts for a much smaller fraction of IO. For this tiny fraction we care about flexibility and readability, a slow JSON parser is fine.
- human20190310 7y agoWhile I agree that in many cases JSON parsing is not the largest consumer of resources, it really sucks when it is. At some point it seems like a general mindset shifted from making things efficient at every level to assuming things don’t matter if you’re probably doing something worse anyway.