]> jfr.im git - irc/quakenet/qwebirc.git/commit - bin/dependencies_b.py
Encode json more compactly.
authorChris Porter <redacted>
Mon, 1 Mar 2010 02:28:21 +0000 (02:28 +0000)
committerChris Porter <redacted>
Mon, 1 Mar 2010 02:28:21 +0000 (02:28 +0000)
commitbecfa8500e40fa390537860c34775cfedca388ea
treeb0d8fd945af2b0375cc5b8f2ef4e6c02e2306082
parentf8d5692e7560ed57ba991c84ff7b2ec0c8961a20
Encode json more compactly.

Optimise json by attempting in the following order:
- using C simplejson module (faster than baseline by 3x)
- using python's built in json module (faster than baseline by 2x)

if both fail use pure Python embedded simplejson (baseline).
bin/dependencies_b.py
bin/mkstatic.py
bin/optionsgen.py
esimplejson/__init__.py [moved from simplejson/__init__.py with 99% similarity]
esimplejson/decoder.py [moved from simplejson/decoder.py with 98% similarity]
esimplejson/encoder.py [moved from simplejson/encoder.py with 99% similarity]
esimplejson/scanner.py [moved from simplejson/scanner.py with 100% similarity]
qwebirc/engines/ajaxengine.py
qwebirc/util/qjson.py [new file with mode: 0644]