From: Joel VanderWerf Date: 2004-11-01T13:12:28+09:00 Subject: Re: Nuby Tip for the Day : Memoization Just a little correction to a worthy post... John Carter wrote: ... > class BigExpensiveMadeOften > def initialize( unique_name) > # Big expensive computation > end > > @@memo = Hash.new {|hash,key| > result = BigExpensiveMadeOften.new( unique_name) ^^^^^^^^^^^ should be "key"