Hi,

now that we can guarantee Python semantics for the optimised for-in-range
loop, should we enable the optimisation also when the loop variable is not
explicitly typed, but when the range is constant and clearly within int bounds?

We might consider waiting with these things until we have flow analysis in
place to make sure the loop variable isn't assigned non-int values inside
the loop, but I doubt that this will be a common case.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to