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.

Title: Improve JSON encoding with sort_keys=True
Type: performance Stage:
Components: Library (Lib) Versions: Python 3.2
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: pitrou, rhettinger
Priority: normal Keywords: patch

Created on 2010-11-04 16:31 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

File name Uploaded Description Edit
jsonsort.patch pitrou, 2010-11-04 16:31
Messages (3)
msg120418 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-11-04 16:31
This patch makes sorting of keys when encoding a dict into JSON faster by not calling pure Python code.
msg120419 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2010-11-04 16:50
msg120420 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-11-04 16:51
Ok, committed in r86169.
Date User Action Args
2022-04-11 14:57:08adminsetgithub: 54523
2010-11-04 16:51:56pitrousetstatus: open -> closed
resolution: fixed
messages: + msg120420
2010-11-04 16:50:04rhettingersetnosy: + rhettinger
messages: + msg120419
2010-11-04 16:31:37pitroucreate