From: Matt Armstrong Date: 2001-10-10T04:29:33+09:00 Subject: [ruby-talk:22338] Re: include vs. extend In article , Paul Brannan wrote: > On Wed, 10 Oct 2001, Yukihiro Matsumoto wrote: > >> There's no case that the latter is faster, I think. >> >> matz. > > The latter is faster in the following case (Ruby 1.6.5): > > You didn't claim that the difference in speed is important, but I'll point out that none of your tests differ by more than 1.5%. For the kinds of things typically done in Ruby, this is probably not something to lose sleep over. But I'd still be interested to learn why one method is consistently faster, if only to learn something about the language. -- matt