Help mi please with optimalization of simple Python code

Chrabros chrabros at seznam.cz
Wed Oct 2 11:59:42 EDT 2002


Hello,
thank you all for your advices.

Here are my results so far:

Using
string and ord = processing took 23.698839
string and map(ord,string) = processing took 21.140183
struct.unpack = processing took 16.194423
array.fromfile =  processing took 13.236229

So the winner is array!

 Dalibor




More information about the Python-list mailing list