Author pitrou
Recipients bob.ippolito, pitrou, rhettinger, swalker, vkuznet
Date 2009-12-02.22:32:20
SpamBayes Score 0.00101243
Marked as misclassified No
Message-id <>
That said, it is possible to further improve json by reducing the number
of memory allocations and temporary copies. Here is an experimental
(meaning: not polished) patch which gains 40% in decoding speed in your
example (9 seconds versus 15).

We could also add an option to intern object keys when decoding (which
wins 400MB in your example); or, alternatively, have an internal "memo"
remembering already seen keys and avoiding duplicates.
Date User Action Args
2009-12-02 22:32:23pitrousetrecipients: + pitrou, rhettinger, bob.ippolito, swalker, vkuznet
2009-12-02 22:32:22pitrousetmessageid: <>
2009-12-02 22:32:21pitroulinkissue6594 messages
2009-12-02 22:32:21pitroucreate