On Wed, Mar 3, 2010 at 6:58 PM, Jim Idle <[email protected]> wrote:
>> I'm giving the running time for the whole parsing process, including
>> semantic actions. We've previously measured that about 50% of the time
>> was spent in ANTLR code, so this represents probably an 80-90% speedup
>> on pure parsing.
>
> Still doesn't seem to be quite right to be honest, you should be seeing it 
> much faster than that. Or do you mean that it now only takes 10 to 20% of the 
> time to parse than it used to?

Yes, that's what I mean. I am very, very pleased with the improvement. :-)

> You need to define the macro as per the examples in the downloadable examples 
> tar ball:
>
> @lexer::header
> {
> #define ANTLR3_INLINE_INPUT_ASCII
> }

Ah... I missed this. This makes another 5-10% improvement! Wow.

Thanks,
Chris

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