D std.regex is so slow
kozzi11 at gmail.com
Tue Sep 19 19:52:57 UTC 2017
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?
On Tue, Sep 19, 2017 at 8:12 PM, Dmitry Olshansky via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:
> On Tuesday, 19 September 2017 at 16:27:51 UTC, jmh530 wrote:
>> On Tuesday, 19 September 2017 at 07:53:27 UTC, Daniel Kozak wrote:
>>> Do you know why?
>>> Here is a code:
>>> I have try it with ldc too, but is still much slower (10x) than PHP
>> 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.
> IP is detected to be "semi-fixed" thus hitting a nice fast path.
> Others would have worked with BitNFA, a patch that we had to revert
> because auto-tester run out of memory.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Digitalmars-d