3 ms·
And because caching systems are typically a means for speeding up reads, where the article only focuses on writes. Python 2.5 -- including pickle's (faster) bi
by thezilch 16y ago
And because caching systems are typically a means for speeding up reads, where the article only focuses on writes.
Python 2.5 -- including pickle's (faster) bin mode
Starting simplejson dumps...
done: 31.7636611462
Starting cjson encode...
done: 3.80062890053
Starting pickle dumps...
done: 10.4873199463
Starting pickle dumps (protocol=-1 -- force HIGHEST_PROTOCOL)...
done: 5.98110699654
Starting simplejson loads...
done: 138.709590197
Starting cjson decode...
done: 1.85300803185
Starting pickle loads...
done: 5.24735999107
Starting pickle loads (protocol=-1 -- force HIGHEST_PROTOCOL)...
done: 3.66428518295
- j2d2j2d2 16y agoGreat point, thanks.