Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: file seek is slow
Stefan Behnel
3/12/2010 8:15:00 AM
CHEN Guang, 12.03.2010 08:51:
> 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.goog...
) generates the shortest 'C' file.
> PythoidC is the C language like the Python, by the Python and for the Python.
Except that it's not a language but rather a syntax converter, i.e. it
doesn't really add any features to the C language but rather restricts
Python syntax to C language features (plus a bit of header file
introspection, it seems, but C's preprocessor has a bit of that, too).
Stefan
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: file seek is slow
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password