[New-bugs-announce] [issue3873] Unpickling is really slow

Hagen Fürstenau report at bugs.python.org
Mon Sep 15 18:37:32 CEST 2008


New submission from Hagen Fürstenau <hfuerstenau at gmx.net>:

Unpickling e.g. a large list seems to be really slow in Python 3.0.

The attached test script gives the following results for pickling and
unpickling a list of 1M zeros, showing that although the C
implementation seems to be used in Python 3.0, unpickling is even slower
than with the "pickle" module of Python 2.6!

[hagenf at cluster-06 hagenf]$ python pickletst.py
2.71067500114
2.77484893799
[hagenf at cluster-06 hagenf]$ python3.0 pickletst.py
0.0925059318542
5.76121616364

----------
components: Library (Lib)
files: pickletst.py
messages: 73267
nosy: hagen
severity: normal
status: open
title: Unpickling is really slow
type: performance
versions: Python 3.0
Added file: http://bugs.python.org/file11497/pickletst.py

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


More information about the New-bugs-announce mailing list