[Issue 11644] EvictingStrategy.LRU for std.functional.memoize

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 29 12:38:17 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11644



--- Comment #1 from bearophile_hugs at eml.cc 2013-11-29 12:38:15 PST ---
A simpler strategy is the random replacement (but currently the low-level API
of associative arrays doesn't allow to extract a random bucket):

enum EvictingStrategy { clearAll, LRU, random }

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list