good way to do side effects on lists?
peter at engcorp.com
Fri Sep 24 02:50:14 CEST 2004
Eli Stevens (WG.c) wrote:
> Judging from this post:
> It seems like Psyco can detect simple "hey, let's see how fast this can
> go with Psyco" tests, and can give skewed results. I wouldn't expect a
> 50x improvement in the general case (though if you have to do simplistic
> things over and over, Psyco is the way to go ;).
> I'm not trying to bash Psyco - two lines netting a 2x speed boost is
> great, but it's good to avoid setting expectations too high. :)
That's a good point. I was actually disappointed with Psyco
when I tried it because hyped reports based, I suspect, on
trivial cases had given me high expectations. I believe I
achieved about a 12% speedup...
More information about the Python-list