Re: Memoizing and WeakValueDictionary

2009-01-04 Thread hsoft
On Jan 4, 5:55 am, Paul McGuire wrote: > Just wanted to share some experience I had in doing some memory and > performance tuning of a graphics script.  I've been running some long- > running scripts on high-resolution images, and added memoizing to > optimize/minimize object creation (my objects

Memoizing and WeakValueDictionary

2009-01-03 Thread Paul McGuire
Just wanted to share some experience I had in doing some memory and performance tuning of a graphics script. I've been running some long- running scripts on high-resolution images, and added memoizing to optimize/minimize object creation (my objects are immutable, so better to reuse objects from a