Message11855
Logged In: YES
user_id=31392
I expect this has to do with extra overhead in Python to
read from the file, independent of buffering. The cPickle
code is trying to read small numbers of bytes at a time.
Each read used fread(). This is slow, because fread is slow
for small numbers of bytes. It's also slow because cPickle
releases and acquires the global interpeter lock around the
fread() calls.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:04:40 | admin | link | issue592112 messages |
2007-08-23 14:04:40 | admin | create | |
|