[antlr-interest] C++ is slower than Java?
keren_jefet
keren_jefet at yahoo.com
Sun Feb 24 05:23:44 PST 2002
Hi,
I have tested the java.g example both on Java-generated parser, and
on Cpp-generated parser (antlr-2.7.1, buildAST=true).
Surprisingly, I found out that the Java parser, was significantly
faster than the Cpp one, especially when handling long java source
files. (sometimes even 600% faster...)
How can that be?
Is this related to the specific java.g grammar definitions, or maybe
it is true for all parsers, no matter of the grammar complexity?
Thanks,
keren.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list