[Python-Dev] Status of json (simplejson) in cpython (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Fri Apr 15 23:20:53 CEST 2011


Le vendredi 15 avril 2011 à 14:18 -0700, Bob Ippolito a écrit :

On Friday, April 15, 2011, Antoine Pitrou <solipsis at pitrou.net> wrote: >> >> > Since the JSON spec is set in stone, the changes >> > will mostly be about API (indentation, object conversion, etc) >> > and optimization. I presume the core parsing logic won't >> > be changing much. >> >> Actually the core parsing logic is very different (and MUCH faster), > > Are you talking about the Python logic or the C logic?

Both, actually. IIRC simplejson in pure python typically beats json with it's C extension.

Really? It would be nice to see some concrete benchmarks against both repo tips.

Regards

Antoine.



More information about the Python-Dev mailing list