std.regex is fat
Chris Katko
ckatko at gmail.com
Sun Oct 14 03:07:59 UTC 2018
On Sunday, 14 October 2018 at 02:44:55 UTC, Chris Katko wrote:
> On Friday, 12 October 2018 at 13:42:34 UTC, Alex wrote:
>> [...]
>
> So wait, if their solution was to simply REMOVE std.regex from
> isEmail. That doesn't solve the regex problem at all. And from
> what I read in that thread, this penalty is paid per template
> INSTANTIATION which could explode.
>
> [...]
For comparison, I just tested and grep uses about 4 MB of RAM to
run.
So it's not the regex. It's the dmd / templates / CTFE, right?
More information about the Digitalmars-d-learn
mailing list