Why is std.regex slow, well here is one reason!

Johan j at j.nl
Wed Mar 1 20:56:00 UTC 2023


On Sunday, 26 February 2023 at 07:25:45 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
>
> Basically right now globals are not leading to anything in the 
> output.
>
> ```
> void func() {
> 	static immutable Thing thing = Thing(123);
> }
> ```
>
> The constructor call for Thing won't show up. This is the big 
> one for std.regex basically.

https://github.com/ldc-developers/ldc/pull/4339

-Johan


More information about the Digitalmars-d mailing list