[Issue 12844] Absurd RAM Required for ctRegex
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jun 6 12:52:18 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12844
--- Comment #6 from Orvid King <blah38621 at gmail.com> ---
Perhaps it would be possible to simulate a character set cache by using a
template to represent the set of characters included?
For the runtime version, is there any real reason to force the charset cache to
be thread local? Could it perhaps be global with dirty read and a possible
re-calculation?
>From my experience, most nievely implemented caching mechanisms fail to
understand that a best-effort cache is usually more than enough.
--
More information about the Digitalmars-d-bugs
mailing list