Magic Optimisation

simonwittber at gmail.com simonwittber at gmail.com
Mon Sep 5 07:40:46 CEST 2005


Psyco actually slowed down the code dramatically.
I've fixed up the code (replaced the erroneous return statement) and
uploaded the code for people to examine:

The test code is here: http://metaplay.dyndns.org:82/~xerian/fibres.txt

These are the run times (in seconds) of the test file.

without psyco:

0.00294482
0.03261255
0.06714886
0.87395510

with psyco.full():

0.00446651
0.05012258
0.15308657
11.23493663




More information about the Python-list mailing list