There's got to be an easy way to do this

Michael Ströder michael at stroeder.com
Thu Jul 5 21:10:21 CEST 2001


Emile van Sebille wrote:
> 
> I'm not sure how you mean slower, but I tested just now to see,
> and this is the fastest of the four.

Ooops. I thought the if x in s statement would consume *much* time.
Well, now I learned again that optimization can be very subtle...

Thanks for doing the benchmark.

Ciao, Michael.



More information about the Python-list mailing list