Opened 16 years ago

Closed 16 years ago

#9266 closed (fixed)

Update simplejson to 2.0.1

Reported by: Manuel Saelices Owned by: Malcolm Tredinnick
Component: Core (Serialization) Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Simplejson library in version 2.0.1 include severals optimizations that multiplies encoding/decoding speed. This is the announcement.

In author words:

Even without the C speedups, it's several times faster. With the C speedups, it's WAY faster. I highly recommend that everyone update their frameworks to use the latest code.

Attachments (1)

use_system_simplejson.diff (380 bytes ) - added by Paul Egan 16 years ago.
Small patch to use system installed simplejson package, in preference to django's bundled version

Download all attachments as: .zip

Change History (6)

comment:1 by Chris Beaven, 16 years ago

Triage Stage: UnreviewedAccepted

by Paul Egan, 16 years ago

Attachment: use_system_simplejson.diff added

Small patch to use system installed simplejson package, in preference to django's bundled version

comment:2 by djw, 16 years ago

Benchmarks seem to show that simplejson 2.0.3 is 60x faster than django's bundled version:

http://inkdroid.org/journal/2008/10/24/json-vs-pickle/

comment:3 by Malcolm Tredinnick, 16 years ago

The patch attached to this ticket is an entirely different issue and, as noted in a recent django-dev thread on this topic, it isn't at all a no-brainer, since it's quite conceivable that the Django version will be more recent than the system-installed version.

comment:4 by Malcolm Tredinnick, 16 years ago

Owner: changed from nobody to Malcolm Tredinnick
Status: newassigned

Waiting on resolution of a django-dev thread about the status of the included module and then I've got an update ready to land.

comment:5 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r9707.

Note: See TracTickets for help on using tickets.
Back to Top