Hi, At Wed, 5 Dec 2007 14:25:07 +0900, Just Another Victim of the Ambient Morality wrote in [ruby-talk:282132]: > "Nobuyoshi Nakada" <nobu / ruby-lang.org> wrote in message > news:20071205020914.E6311E0666 / mail.bc9.jp... > > Hi, > > > > At Wed, 5 Dec 2007 08:40:11 +0900, > > Just Another Victim of the Ambient Morality wrote in [ruby-talk:282100]: > >> Why is there any "converting" to do? How can this not work? > >> My best guess is that the Range class is not written in Ruby and, > >> hence, > >> has funny limitation on how it may work. > > > > Yes, and performance issue. > > Just so I'm clear on this; the Range class is implemented in C for > performance reasons? It isn't the only reason why Range is implemented in C, I wrote about your "limitation." If Range were written in Ruby, it couldn't be used until something was loaded. It wasn't acceptable for intrinsic classes. -- Nobu Nakada