Am Thursday 16 July 2009 14:08:25 schrieb Gokulakannan Somasundaram:
> Thanks.. I think it looks good atleast to me.. But i think  i would go with
> using @init part, but instead of overriding the nextToken, i will override
> the getErrorMessage() function. I just feel that compairson for every
> nextToken call might be slightly costly.
>

I thought that too,  but after profiling my app with the java interactive 
profiler (jip) I saw that the cost for nextToken was under 0.02% compared to 
the total runtime.

cheers
 Michael


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to