From: "Ara.T.Howard" Date: 2005-10-16T23:15:37+09:00 Subject: Re: Help! define_method leaking procs... On Sun, 16 Oct 2005, Eric Mahurin wrote: >> still exponential after a threshold... > > The other leaking examples were technically quadratic (O(n**2)) were they > should have been O(n). The above one is also O(n). Take on the "s = '42' * > i and" and you'll see the same memory usage. I don't see an issue in the > above example. It's just that the memory usage was so small for anything > below n=1024, that it probably didn't have to grow much beyond what ruby had > allocated to it when it started up. you are correct : never send email at 1am ;-) so, no leak from define_method then. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | anything that contradicts experience and logic should be abandoned. | -- h.h. the 14th dalai lama ===============================================================================