[pypy-issue] [issue1234] Poor seek set performance (compared to cpython 2.7)

Amaury Forgeot d Arc tracker at bugs.pypy.org
Wed Aug 22 18:26:59 CEST 2012


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

CPython actually uses fopen() and fread(), and probably does not need a system 
call when fseek() stays inside the in-memory buffer.

Can you try with the io module? Just use io.open() instead of open().

----------
nosy: +afa
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1234>
________________________________________


More information about the pypy-issue mailing list