[antlr-interest] Performance and LA(int)

Bryan Ewbank ewbank at gmail.com
Thu Feb 24 14:28:14 PST 2005


Can't the code here be refactored so that it's 90% inlineable, with
the small differences spun off into functions?  It seems this is a
classic refactoring, though I can't remember the name of the
refactoring pattern...


On Thu, 24 Feb 2005 09:47:48 -0000, Micheal J <open.zone at virgin.net> wrote:
> We are in agreement here. IIRC, Kunle looked for opportunuties to eliminate
> virtual methods on the critical path. Short of maintaining two
> [nearly-]identical copies of the code (in release and debug classes - same
> for lexer/tree-parsers), there didn't seem to be a way around this (and
> others). Any ideas?


More information about the antlr-interest mailing list