[issue7451] improve json decoding performance

Antoine Pitrou report at bugs.python.org
Tue Dec 8 01:53:33 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

I've just noticed that there is a persistent decoder instance in
`json._default_decoder`. To avoid keeping references to past keys
forever, this updated patch clears the memo dict when a string has
finished decoding.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7451>
_______________________________________


More information about the Python-bugs-list mailing list