From: Robert Feldt Date: 2000-11-24T18:11:45+09:00 Subject: [ruby-talk:6569] Re: Note on docs for Array#reverse! On Fri, 24 Nov 2000, Yukihiro Matsumoto wrote: > Hi, > > In message "[ruby-talk:6550] Note on docs for Array#reverse!" > on 00/11/23, Robert Feldt writes: > | > |"..., returning nil if arr is unchanged." > | > |does not fully describe the behavior > > For reverse! behavior, `unchanged' means array size is either 0 or 1, > and that's all. Neither I nor Ruby check for array contents. It > costs a lot. > Ok, thanks. I'll do the same in my BitVector class. /Robert