From: James Edward Gray II Date: 2006-01-26T04:23:31+09:00 Subject: Re: Rethinking Memoization On Jan 25, 2006, at 12:55 PM, Robert Klemme wrote: > So, basically I prefer Daniel's simpler approach - especially since > you can achieve the same: just create an instance that contains all > code (either directly or by delegation) that is expected to be slow > (and thus should be memoized) and memoize on that class. Can you show an example or two here? Using the current memoize.rb, how do we get objects A, B, and C using the same cache? I guess I'm having trouble getting my head around it. Thanks. James Edward Gray II