This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jiba
Recipients
Date 2002-08-07.15:31:47
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
There is a strange behaviour in cPickle (in Python 2.2.1).
For big serialized file, the following:

        cPickle.loads(open("my_file").read())

can be much (e.g. 7 times) faster than:

        cPickle.load(open("my_file"))

It seems that cPickle use unbuffered reading or what ?
The pickle implementation doesn't have this behaviour,
and can even be
faster than the C one!
History
Date User Action Args
2007-08-23 14:04:40adminlinkissue592112 messages
2007-08-23 14:04:40admincreate