From: Yukihiro Matsumoto Date: 2005-11-14T17:50:59+09:00 Subject: Re: [ ruby-Patches-2769 ] Patch for Array#insert In message "Re: [ ruby-Patches-2769 ] Patch for Array#insert" on Thu, 3 Nov 2005 13:39:53 +0900, noreply@rubyforge.org writes: |Hi all, | |I've attached a patch for Array#insert (array.c). This gets rid of the manual argc counting, and improves performance when dealing with negative indexes. I handled a -1 index specially, since all it does is append. Strange. I had no significant performance improvement on my machine (1.9.0 i686-linux), rather it slightly slows down Array#insert. matz.