file seek is slow

CHEN Guang dr.cg at 126.com
Fri Mar 12 02:51:11 EST 2010


 
Metalone wrote:
> I just tried the seek test with Cython.
> Cython fseek() : 1.059 seconds.  30% slower than 'C'
> Python f.seek  : 1.458 secondds. 80% slower than 'C'.
> 
> It is amazing to me that Cython generates a 'C' file that is 1478
> lines.
> 
 
PythoidC ( http://pythoidc.googlecode.com ) generates the shortest 'C' file.
PythoidC is the C language like the Python, by the Python and for the Python.
CHEN Guang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100312/fff4d8bd/attachment-0001.html>


More information about the Python-list mailing list