From: Christian Szegedy Date: 2001-05-16T01:10:29+09:00 Subject: [ruby-talk:15173] Re: Discussion on new Ruby features Dave Thomas wrote: > I also depends on what you're trying to optimize. For example, in many > long running Ruby scripts, the major slowdown comes not from method > dispatching but rather from garbage collection (this should improve in > 1.7). Before we travel too far down a particular path, perhaps we > should we doing some experiments to see where optimization would have > the most effect. Not so pragmatic, Dave! ;) Speeding up gargbage collection is an important issue, but: The mark/sweep technique is linear in the allocated memory, therefore: Reducing the number of allocations clearly speeds up the garbage collection. This could be a main issue after optimizing the collection itself. I think therefore, that my idea on the operators could speed up a lot. I don't think, that static typing information in Ruby script is only "a particular path". It has a lot of facets: code clearence,effectivnes, genericity, optimazibility,programming philosophy... I think, it is a most serious issue. However, the later does it happen the harder will it be. Please, think about it! Best regards, Christian