Tips on making regex more performant?

Jacob Carlborg doob at me.com
Wed Jun 19 02:08:03 PDT 2013


On 2013-06-18 23:29, Dmitry Olshansky wrote:

> As much as I'm appeased to hear this it's isn't simply "faster then V8".
> V8 one is very fast in general case (JIT compiler aids in that) and I
> think would come out as winer more often then std.regex.
>
> What is closer to truth is that typically std.regex is within about 5
> top well-known engines and it's beats the rest of competition on some
> patterns including in certain popular benchmarks such as regex-dna.
>
> For instance it typically obliterates PCRE, infinitely so on Unicode
> patterns (I never had patience to let it finish) .
>
> With that being said there are many things to improve in std.regex
> speed-wise, sadly I haven't been able to tell about it at DConf.

I see, thanks for the correction.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list