[issue5670] Speed up pickling of dicts in cPickle

Collin Winter report at bugs.python.org
Fri Apr 3 23:22:09 CEST 2009


Collin Winter <collinw at gmail.com> added the comment:

FYI, I just added a pickle_dict microbenchmark to perf.py. Using this
new microbenchmark, I see these results (perf.py -r -b pickle_dict):

pickle_dict:
Min: 2.092 -> 1.341: 56.04% faster
Avg: 2.126 -> 1.360: 56.37% faster
Significant (t=216.895643, a=0.95)

I still need to address the comment about pickling empty dicts.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5670>
_______________________________________


More information about the Python-bugs-list mailing list