std.regex needs help

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 30 11:45:38 PDT 2016


On Friday, 30 September 2016 at 17:29:41 UTC, Dmitry Olshansky 
wrote:
> I know it's not unusual to rant about open bugs and such but 
> it's been 4 months and I'm helpless.
>
> I had some nice breakthrough in std.regex performance back in 
> May but failed to deliver it to the mainline because of a bug:
> https://github.com/dlang/phobos/pull/4286
>
> If anyone fluent in backend can decipher issue:
> https://issues.dlang.org/show_bug.cgi?id=15989
> I'd indebt.
>
> I'm not above a workaround if that's what it takes.
>
> ---
> Dmitry Olshansky

You can workaround the issue by making ctRegex a static immutable 
instead of an enum.


More information about the Digitalmars-d mailing list