D std.regex is so slow

Daniel Kozak kozzi11 at gmail.com
Wed Sep 20 10:29:45 UTC 2017


Hmm. I have tested old version od dmd and ldc with BitNFA, but it does not
help much with those two cases

actual version of ldc:

240.964 - 92
211.433 - 5301
6.76683 - 5

ldc 1.2:
215.158 - 92
190.255 - 5301
6.58155 - 5

So there is some improvments but not as much as I would expected.

On Wed, Sep 20, 2017 at 6:54 AM, Dmitry Olshansky via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On Tuesday, 19 September 2017 at 19:52:57 UTC, Daniel Kozak wrote:
>
>> Is there a plan to make BitNFA back?
>>
>
> Yes, the moment we have CTFE that doesn't leak.
>
> Is possible that newCTFE will improve problem with memory?
>>
>
> It should but it doesn't support classes and exceptions. I need them.
>
> Or it is possible to improve those slow cases?
>>
>
> There are many other things but BitNFA is a nobrainer - all the work has
> been already done and it is super fast where applicable.
>
> ---
> Dmitry Olshansky
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20170920/a02a4074/attachment.html>


More information about the Digitalmars-d mailing list