<div dir="ltr">Max,<div><br></div><div>Do you have a link to your grammar? I can probably poke at it and give you some tips.</div><div><br></div><div>However, I am well aware of performance problems with neotoma -- with large grammars or large inputs it drags. Yes, there are general problems for PEGs in Erlang, but its current implementation is particularly naive and wasteful. I'm working on a rewrite, but it's a complete overhaul (and more faithful to the thesis and reference implementation "Pappy"). Since it's not core to my day-job, I've only been able to work on the rewrite occasionally in my free time.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 12, 2015 at 12:07 PM, Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Yes, Louis, I also think that there may be a simple way of speeding it up.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I'm only afraid that I will have to open my university book and remember what LL-1 means and how it differs from LALR =)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ok, will try to profile it first.</div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>