Do we need faster regex?

H. S. Teoh hsteoh at qfbox.info
Mon Dec 18 18:09:16 UTC 2023


On Tue, Dec 19, 2023 at 06:47:00AM +1300, Richard (Rikki) Andrew Cattermole via Digitalmars-d wrote:
> Yeah basically std.regex is no longer the cause for importing
> std.regex slowdown.
> 
> Its stuff like std.conv and std.uni.

I haven't noticed too much horrible slowdown from std.conv, but std.uni
could use some fixing. I'm tempted to suggest that those internal tables
in std.uni should be pre-generated rather than done at compile-time.
There comes a point where repeatedly doing something at every compile
just isn't worth it when the desired output could be autogenerated
beforehand and saved as a straight .d file with hard-coded values.


T

-- 
Heads I win, tails you lose.


More information about the Digitalmars-d mailing list