<div dir="ltr">Is there a plan to make BitNFA back? Is possible that newCTFE will improve problem with memory? Or it is possible to improve those slow cases?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 19, 2017 at 8:12 PM, Dmitry Olshansky via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tuesday, 19 September 2017 at 16:27:51 UTC, jmh530 wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Tuesday, 19 September 2017 at 07:53:27 UTC, Daniel Kozak wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="https://github.com/mariomka/regex-benchmark#performance" rel="noreferrer" target="_blank">https://github.com/mariomka/re<wbr>gex-benchmark#performance</a><br>
<br>
Do you know why?<br>
<br>
Here is a code:<br>
<a href="https://github.com/mariomka/regex-benchmark/blob/master/d/benchmark.d" rel="noreferrer" target="_blank">https://github.com/mariomka/re<wbr>gex-benchmark/blob/master/d/be<wbr>nchmark.d</a><br>
<br>
I have try it with ldc too, but is still much slower (10x) than PHP<br>
</blockquote>
<br>
Looks like they added ldc to it. I'm seeing 3x slower than PHP on Email and URI, but roughly par on IP. It really stands out on the DMD one how much better it does on the IP one than the Email/URI ones.<br>
</blockquote>
<br></div></div>
IP is detected to be "semi-fixed" thus hitting a nice fast path.<br>
<br>
Others would have worked with BitNFA, a patch that we had to revert because auto-tester run out of memory.<br>
<br>
<br>
<br>
</blockquote></div><br></div>