Antoine Pitrou <pit...@free.fr> added the comment: You should disassemble the output (or produce assembler from gcc) and check that the various indirect jumps at the end of each case block don't get merged into a single shared indirect jump.
Or perhaps it's simply that regular expression matching isn't really sensitive to bytecode dispatch overhead. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7593> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com