>> I'm partial to option 2. As Ruby is already a slow language, we should try
>> to optimize it wherever possible. In addition, 2 keeps to the trend in other
>> .NET languages. For example, I believe LINQ takes advantage of existing
>> methods on Lists when it can.
>
> Likewise. Because arrays are used absolutely everywhere in ruby, making a
> common method like count slower will have a whole lot of hidden performance
> penalties... Anything we can do to make these core classes faster is a win
> for everyone

Alright, I'll get onto doing option 2 when I get home this evening.

Thanks guys.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to