Why I think range is a wart.

Fredrik Lundh fredrik at pythonware.com
Sat Mar 16 04:57:02 EST 2002


Tim Legant wrote:

> I wonder why /F thought the bar() version would be faster.

I'm still at 2.1.X.

but fwiw, i += 1 is still a wee bit faster under 2.2 on my bench-
mark (windows build, 100000 list items, trivial loop body).

</F>





More information about the Python-list mailing list