3 ms·
Check out ultrajson (aka ujson) - (also see ujson4c[1] in the same org) as far as serializing, ujson is 7x faster than simplejson in the worst cases I've seen
by mh- 13y ago
Check out ultrajson (aka ujson) - (also see ujson4c[1] in the same org)
as far as serializing, ujson is 7x faster than simplejson in the worst cases I've seen (disclaimer: using the Python bindings.)
[1] https://github.com/esnme/ultrajson https://github.com/esnme/ultrajson
[2] https://github.com/esnme/ujson4c https://github.com/esnme/ujson4c - "A more user friendly layer for decoding JSON in C/C++ based on [..] UltraJSON"
n.b.: There also exists a class of "simplified" JSON serializers. They implement most of the JSON specification but leave out some features (or restrictions) that make it more expensive. I don't know anything about these, perhaps another commenter can chime in.