[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Why does Array#first not use rb_ary_subseq?

Yukihiro Matsumoto

5/18/2007 1:35:00 PM

Hi,

In message "Re: Why does Array#first not use rb_ary_subseq?"
on Fri, 18 May 2007 22:22:31 +0900, Stefan Rusterholz <apeiros@gmx.net> writes:

|But what I forgot to ask in my initial question: if those two
|implementations have different characteristics, why isn't that
|documented? (from the docs I'd just expect first to have nicer semantics
|for its use-case and nothing else)

Just because it is just an implementation matter. Anyway, I will
examine your code example, and check what we can do.

matz.