From: Maarten Boonen Date: 2005-01-22T04:20:57+09:00 Subject: disabling method caching Hi, I am trying to compare a few algorithms, but there's a rather substantial difference in speed when I run a program like following 5 times, start = Time.now algo(params) puts Time.now - start or when I do 5.times do start = Time.now algo(params) puts Time.now - start end (especially if I already called algo() previously, with different parameters) I suspect this has to do with method caching. Is this correct? If so, is there a way to disable it? Or are there better ways of comparing? Any help will be greatly appreciated. Thanks in advance, Maarten