[Cython] None checks for variables of builtin types (rev ffeb158969e)

Stefan Behnel stefan_ml at behnel.de
Fri Feb 27 09:36:41 CET 2009


Robert Bradshaw wrote:
> I actually already implemented this, pushing now.

Ah, yes. Your version definitely looks better for a constant value of i.
Making it clear to the compiler that both cases are exclusive leads to very
efficient code here.

Stefan



More information about the Cython-dev mailing list