Guido van Rossum wrote:
On 6/18/06, Josiah Carlson <[EMAIL PROTECTED]> wrote: A switch-statement offers only a modest readability improvement over if-elif chains. If a proposal introduces a switch-statement but doesn't support fast dispatch, then it loses much of its appeal. Historically, the switch-statement discussions centered around fast dispatch without function call overhead or loss of direct read/write to local variables (see sre_compile.py and sre_parse.py for code would would see a speed benefit but almost no improvement in readability). Raymond |
_______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
