pickle performance on larger objects
Sam Penrose
spenrose at intersight.com
Thu Jul 18 16:37:10 EDT 2002
> Sam Penrose <spenrose at intersight.com> writes:
>
> > memory usage increases by about 20%, FWIW. For my particular use case
> > cPickle is still several (many ?) times slower than just recreating
> > the object by reading in a file.
Michael Hudson asks:
> Are you sure that the file doesn't have an associated .pyc? For then
> you're testing marshal perfomance, and that's always going to kill
> pickle. Just a thought.
Sorry, I wasn't clear. The file in question is a database dump; the
object being created a class instance with a few attributes, including
the list of dicts referred to in my original post.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 853 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20020718/f24d0cb3/attachment.bin>
More information about the Python-list
mailing list