LRU cache for ~=
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Oct 20 07:57:36 PDT 2009
Robert Jacques wrote:
> So you want to synchronize the ~= function? I thought the LRU would be
> thread local and therefore independent of these issues, as well as being
> faster. And if the LRU isn't thread-local, then why not make it part of
> the GC? It would both be more general and much simpler/cleaner to
> implement.
I think the cache should be thread-local.
Andrei
More information about the Digitalmars-d
mailing list