[Python-Dev] pickle faster in 2.2 ?

M.-A. Lemburg mal@lemburg.com
Wed, 31 Oct 2001 22:22:46 +0100


"M.-A. Lemburg" wrote:
> 
> While hacking on an XML pickler, I found that pickle.py got nearly
> twice as fast in 2.2 comparing to 2.1 and 2.0.
> 
> The code in pickle.py doesn't seem to have changed much. Anybody
> know where that speedup came from ? Can somebody on another
> (non-Linux) system please verify this.

Nevermind; it was the change in pickle.py to use cStringIO instead 
of StringIO that caused the difference.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/