From: Lennon Day-Reynolds Date: 2004-07-03T07:09:13+09:00 Subject: Re: slow method searching? Dave, The arrays are being built in both cases; the question is why it takes to long to determine that a method is missing on a large array. It's also not just lazy construction of the arrays or anything, as methods that *do* exist execute as quickly on large arrays as on empty ones. Lennon On Sat, 3 Jul 2004 07:01:37 +0900, Dave Thomas wrote: > > > On Jul 2, 2004, at 16:56, David Garamond wrote: > > > Why does it take longer and longer for Ruby to throw NoMethodError for > > large arrays? What is going on here? This happens with hash too. > > Perhaps the time is being spent constructing the arrays? > > Cheers > > Dave > >