From: matz@... (Yukihiro Matsumoto) Date: 2000-07-04T02:03:19+09:00 Subject: [ruby-talk:03768] Re: Array.uniq! returning nil Hi, In message "[ruby-talk:03758] Array.uniq! returning nil" on 00/07/03, Aleksi Niemel� writes: |Why Array.uniq! returns nil if it doesn't do anything (every element |is unique). Same for Array.compact! Next example requires two times |the memory what uniq! -version would. Could be a problem with large texts. Ruby 1.5.x do the magic for you. Non bang methods don't copy memory regions unless copying is really needed, using the state-of-the-art copy-on-write technology. ;-) matz.