From: matz@... (Yukihiro Matsumoto) Date: 2001-10-10T03:25:54+09:00 Subject: [ruby-talk:22330] Re: include vs. extend Hi, In message "[ruby-talk:22327] include vs. extend" on 01/10/10, Paul Brannan writes: | class Foo | include M1 | include M2 | include M3 | include M4 | end | class Bar | def initialize | extend M1 | extend M2 | extend M3 | extend M4 | end | end |1) Is there any other solution that gives me a better tradeoff in terms of |speed? Choose the former, it's the best. |2) What are some advantages/disadvantages to each solution that I have |not considered? There's no case that the latter is faster, I think. matz.