Which is faster?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sun Aug 31 02:41:40 CEST 2008


On Sat, 30 Aug 2008 04:11:33 -0300, Gabriel Genellina wrote:

> Mmm, in this last test you're measuring the long integer operations
> performance (because the sum exceeds largely what can be represented in
> a plain integer). Long integers are so slow that the difference between
> both loops becomes negligible.

Nicely caught, and thank you for pointing that out.


-- 
Steven



More information about the Python-list mailing list