Robert Bradshaw wrote:
> I did some experiments with this, and the results seemed to indicated  
> it does not. Also, nested ifs performed poorly compared to a flat  
> list of ifs (for a medium-sized (5-50) set of conditions).
>
> It would be nice to have some syntax for switch statements. Several  
> alternatives have been rejected for Python: http://www.python.org/dev/ 
> peps/pep-3103/
>   

Wrote an idea for this at

http://wiki.cython.org/enhancements/switch

although it is probably in the category "too busy dreaming rather than 
getting real work done".

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

Reply via email to