Grant Edwards <invalid@invalid.invalid>: > any decent compiler should be able to generate the same code for a > switch statement and for an equivalent chained if/else.
It's not so easy to be decent, especially when it comes to a language as dynamic as Python. Marko -- https://mail.python.org/mailman/listinfo/python-list