[antlr-interest] Re: Lexer speed comparison

Uli Bubenheimer yahoogroups.10.ulibube at spamgourmet.com
Thu Feb 26 13:51:29 PST 2004


> > I did not set testLiterals=false. My grammar has keywords.
> 
> One can turn off for grammar and then turn on again in the IDENTIFIER 
> rule so that it changes token types for keywords properly. :)
Sneaky.

Anyway, with this change ANTLR does in fact become a little faster:
about 7750 ms rather than 8300.

Uli




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list