[Python-Dev] pickle faster in 2.2 ?

Guido van Rossum guido@python.org
Wed, 31 Oct 2001 16:31:53 -0500


> 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.

What benchmark?

> 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.

I believe DOM nodes are now new-style classes, for better or for worse
(it might create problems when combining with classic mixins).  Could
that explain it?

--Guido van Rossum (home page: http://www.python.org/~guido/)