D std.regex is so slow

rikki cattermole rikki at cattermole.co.nz
Tue Sep 19 07:59:51 UTC 2017


On 19/09/2017 8:53 AM, 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

Most likely everything below D is being JIT'd.


More information about the Digitalmars-d mailing list