Do we need faster regex?

H. S. Teoh hsteoh at qfbox.info
Mon Dec 18 17:44:03 UTC 2023


On Tue, Dec 19, 2023 at 06:34:04AM +1300, Richard (Rikki) Andrew Cattermole via Digitalmars-d wrote:
> If you import std.regex and do nothing else:
> 
> sema1 61ms
> sema2 101ms
> 
> std.internal.unicode_tables:
> sema1 4ms
> sema2 100ms
[...]
> While there are improvements to be had, I have already done all the
> big ones when I shaved off ~600ms earlier this year.
> 
> Gotta love time trace!

Cool, awesome stuff!


T

-- 
If blunt statements had a point, they wouldn't be blunt...


More information about the Digitalmars-d mailing list