Memoization can be associated with the ConditionalWeakTable class, which allows the addition of memoized computation results to immutable types. This makes the memoized results live as long as the instances that was used to create it.
|
|
Scooped by
Srdjan Strbanovic
onto Software Development Hub April 29, 2013 10:40 PM
|
No comment yet.
Sign up to comment
Your new post is loading...