classification
Title: Improve JSON encoding with sort_keys=True
Type: performance Stage:
Components: Library (Lib) Versions: Python 3.2
process
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 2010-11-04 16:51 by pitrou. This issue is now closed.

Files
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
+1
msg120420 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-11-04 16:51
Ok, committed in r86169.
History
Date User Action Args
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