[antlr-interest] Why is parsing in antlrworks slower?

Johannes Luber JALuber at gmx.de
Tue Jan 13 00:08:19 PST 2009


> Just curious. Why is parsing inside AntlrWorks (in debug) slower than
> parsing using a java program? Is this because of displaying the graphical
> parse tree or is there some other reason?

Of course is creating a GUI time-consuming. Also the debugging creates a program which communicates over the network stack, which is a considerable delay alone. This also causes the duplication of the tokens (one in the parser, one for the GUI).

Johannes
> 
>  
> 
> - Indhu
> 
>  
> 

-- 
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a


More information about the antlr-interest mailing list