Quantcast

Grammar Optimization

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Grammar Optimization

mail
Hi there,

can anyone give me some hints on how to identify slow spots and optimization points in a grammar?
I've looked into the ProfilingParseRunner but that doesn't help me that much, because everything I tried slows down the parser even more.

Kind regards
Markus
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Grammar Optimization

tsuckow
Is there a large amount of ambiguity in your grammar that would cause
it to backtrack a lot?
Thomas Suckow


On Sun, Jun 2, 2013 at 12:49 AM, mail [via parboiled users]
<[hidden email]> wrote:

> Hi there,
>
> can anyone give me some hints on how to identify slow spots and optimization
> points in a grammar?
> I've looked into the ProfilingParseRunner but that doesn't help me that
> much, because everything I tried slows down the parser even more.
>
> Kind regards
> Markus
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://users.parboiled.org/Grammar-Optimization-tp4024200.html
> To start a new topic under parboiled users, email
> [hidden email]
> To unsubscribe from parboiled users, click here.
> NAML
Loading...