[antlr-interest] Profiler 2
Terence Parr
parrt at cs.usfca.edu
Thu Dec 1 17:24:32 PST 2005
On Dec 1, 2005, at 5:36 PM, Micheal J wrote:
>> One point here. The "8% throw" is because in C++, exceptions
>> are supposed to be, well, exceptional (i.e., rare).
>
> I think it's true for Java/C# too. Especially C# (exceptional
> exception
> costs imo).
>
>> The cost of speculative lookahead is horrid.
>
> Yep.
I think I know how to easily do syntactic predicates now without
exceptions :)
Ter
More information about the antlr-interest
mailing list