This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients josh.r, rhettinger, serhiy.storchaka, vstinner, wbolster
Date 2015-02-23.11:15:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424690116.66.0.717811591244.issue23493@psf.upfronthosting.co.za>
In-reply-to
Content
> That said, it is applied only n-times and is likely insignificant when compared to the O(n log n) sort. (...)

904 usec => 462 usec is very significant: it's 49% faster. So I'm ok for the change.

Note: PyPy JIT may not be able to optimize operator.itemgetter, whereas it optimizes the simple lambda function. You may report this performance issue to PyPy. PyPy may use different code in json for best performances.
History
Date User Action Args
2015-02-23 11:15:16vstinnersetrecipients: + vstinner, rhettinger, serhiy.storchaka, wbolster, josh.r
2015-02-23 11:15:16vstinnersetmessageid: <1424690116.66.0.717811591244.issue23493@psf.upfronthosting.co.za>
2015-02-23 11:15:16vstinnerlinkissue23493 messages
2015-02-23 11:15:16vstinnercreate