On Tuesday 18 September 2001 03:55 pm, Dan Sugalski wrote: > One of the things that the configure script needs to do is generate the > opcode dispatch macro to either be a giant switch statement (with a > fallthrough default to handle cases we don't know about) or the function > table dispatch we have now.
FWIW, having the function dispatch table as the default case in a switch wasn't a big win in my initial testing. The savings came from an initial test to decide to switch or lookup, but that requires the non-overrideable to be blocked so that they're easily tested (ie, opcodes 0-n). Parrot's performance does seem to differ from my initial testing, though, so you may want to benchmark it every which way. -- Bryan C. Warnock [EMAIL PROTECTED]