good way to do side effects on lists?
Istvan Albert
ialbert at mailblocks.com
Thu Sep 23 19:32:57 EDT 2004
bruno modulix wrote:
> Dont assume, test !-)
Here is what I get running the script normally:
[1.4226769044669085, 1.3523785844290266, 1.3683993356697575]
[1.267016338668741, 1.2757789048608128, 1.2636061287118894]
now let's turn on psyco:
import psyco
psyco.full()
.....
[0.02277663781290639, 0.02202207263772351, 0.021649958304756606]
[2.6641092652837162, 2.7028650289352423, 2.628167825799089]
oh boy.
Istvan.
More information about the Python-list
mailing list