> On 26 Jan 2017, at 00:30, p...@highoctane.be wrote: > > SomeClass>>#initialize > self memoize: #someMethod:andParms:. > > and bingo, automatic method memoization keyed by the objects passed. >
I had a prototype called “vigorous caching”. It worked for methods without parameters though (http://blog.yuriy.tymch.uk/2016/02/vigorous-caching-in-pharo-or-how-i-used.html <http://blog.yuriy.tymch.uk/2016/02/vigorous-caching-in-pharo-or-how-i-used.html>)