[antlr-interest] Profiler 2

Bryan Ewbank ewbank at gmail.com
Thu Dec 1 17:04:06 PST 2005


One point here.  The "8% throw" is because in C++, exceptions are
supposed to be, well, exceptional (i.e., rare).  The cost of
speculative lookahead is horrid.  If there's any "( ) =>" predicates,
they will kill you.

On 12/1/05, Micheal J <open.zone at virgin.net> wrote:
> > Note, that from 11% of match(int)  8%  is throw()
>
> That resonates with recent discussions about code aesthetics and raw
> performance....
>
> V3 needs to be *very* competitive performance-wise with the Coco/R's and
> other LLn CCs and, with the best of the [G|LA]LR bunch or risk becoming
> irrelevant imo.
>
> The Mono compilers, #SharpDevelop's parsers, Nemerle etc should all have
> been highly visible examples of ANTLR in the wild...
>
> Looking forward to highly tweakable code generation + TreeDL.
>
> Micheal
>
>


More information about the antlr-interest mailing list