Memoizing methods
Dicebot via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Dec 19 00:51:43 PST 2014
On Friday, 19 December 2014 at 02:45:13 UTC, kyle wrote:
> If you memoize a method inside a class definition using
> std.functional.memoize is caching done in a per-object manner,
> or do all objects of this class share cached return values?
> Thank you.
Memoize uses one hash table per symbol it is applied to -> all
objects
More information about the Digitalmars-d-learn
mailing list