[issue8745] zipimport is a bit slow

Serhiy Storchaka report at bugs.python.org
Mon Nov 5 20:40:08 CET 2012


Serhiy Storchaka added the comment:

I suggest to use fseek(fp, relative_offset, SEEK_CUR).  It doesn't force a system call (at least on Linux) and may be a little faster than fread() or multiple getc().

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list