From: Stefan Rusterholz Date: 2007-05-18T23:22:10+09:00 Subject: Re: Why does Array#first not use rb_ary_subseq? Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Why does Array#first not use rb_ary_subseq?" > on Fri, 18 May 2007 22:35:08 +0900, Yukihiro Matsumoto > writes: > > |Just because it is just an implementation matter. Anyway, I will > |examine your code example, and check what we can do. > > I am sorry, I was bit confused with 1.9 (trunk) and 1.8 which you are > talking about. You are right. Array#first should utilize > copy-on-write as much as it can. I will fix. > > matz. Oh, I should have supplied the version. Sorry about that. Heh, actually I'm surprised that my curiosity results in a change in code, but happy to be of help :) Regards Stefan -- Posted via http://www.ruby-forum.com/.