From: David Ross Date: 2004-08-15T03:04:07+09:00 Subject: Re: Where is memoize? > Yeah, it's nice. My solution is older and thus > didn't use some of the > new fancy stuff like define_method so is rather > bloated. I also use > separate caches for each class so that multiple > methods with same name > can be memoized, and allow different caching > policies (BoundedLRUCache > etc), but it's easy to extend your solution to cover > that... It doesn't matter if it is slower, bloated, or doesn't use new features. Others can learn from the code, even if it is not currently the most efficient. Knowledge evolution. :) > > I'll try to find a new home for the old ackage (and > update RAA and > other links to it) just in case... > > Regards, > > Robert > ---------------------------------- -- Name: David Ross -- Phone: 865.539.3798 -- Email: drossruby [at] yahoo.com --------------------------------- __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail