D std.regex is so slow

John Colvin john.loughran.colvin at gmail.com
Tue Sep 19 10:52:39 UTC 2017


On Tuesday, 19 September 2017 at 10:14:05 UTC, Dmitry Olshansky 
wrote:
> On Tuesday, 19 September 2017 at 07:53:27 UTC, Daniel Kozak 
> wrote:
>> https://github.com/mariomka/regex-benchmark#performance
>>
>> Do you know why?
>>
>> Here is a code:
>> https://github.com/mariomka/regex-benchmark/blob/master/d/benchmark.d
>>
>> I have try it with ldc too, but is still much slower (10x) 
>> than PHP
>
> Well I'd be interested in getting the data. The benchmark looks 
> fine.
>
> ---
> Dmitry Olshansky

As mentioned in the REAME: 
https://raw.githubusercontent.com/mariomka/regex-benchmark/master/input-text.txt


More information about the Digitalmars-d mailing list