[issue14336] Difference between pickle implementations for function objects

Mark Lawrence report at bugs.python.org
Fri Jul 4 00:38:51 CEST 2014


Mark Lawrence added the comment:

I couldn't find the code referenced in the changeset in the new _pickle.c.  However I did find the comment that I've pasted below so I believe this issue only applies to 2.7.

/* The old cPickle had an optimization that used switch-case statement
   dispatching on the first letter of the type name.  This has was removed
   since benchmarks shown that this optimization was actually slowing
   things down. */

----------
nosy: +BreamoreBoy
versions:  -Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list