[issue3873] Unpickling is really slow

STINNER Victor report at bugs.python.org
Mon Apr 6 14:02:57 CEST 2009


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Note about my patch: the buffer should be truncated after
PyBytes_Concat(&self->buffer.pybytes, data) to avoid very long buffer.
Something like: self->buffer.pybytes += data; self->buffer.pybytes =
self->buffer.pybytes[index:]; self->buffer.index=0;

----------

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


More information about the Python-bugs-list mailing list