[issue9410] Add Unladden Swallow's optimizations to Python 3's pickle.

Antoine Pitrou report at bugs.python.org
Thu Jul 29 11:41:08 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

Le jeudi 29 juillet 2010 à 06:26 +0000, Alexandre Vassalotti a écrit :
> New submission from Alexandre Vassalotti <alexandre at peadrop.com>:
> 
> This is a big patch. Please review at
> http://codereview.appspot.com/1694050/show
> 
> This patch adds the most interesting optimizations from Unladen
> Swallow to Python 3's pickle.
> 
> The core of the patch already been reviewed by Antoine and me
> (http://codereview.appspot.com/33070/show). One of the last issue
> remaining the unbounded size of the internal buffer. This shouldn't be
> a big issue for most uses of pickle, since the size of a  pickle is
> often several times smaller than the object hierarchy that created it.
> I still hope to fix this in a following patch.

I still think this should be fixed in this patch, especially since it
will also change benchmark numbers.

----------

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


More information about the Python-bugs-list mailing list