Project

General

Profile

« Previous | Next » 

Revision 4831eb86

Added by nobu (Nobuyoshi Nakada) almost 9 years ago

array.c: no temporary array

  • array.c (rb_ary_splice): use pointer and length pair instead of
    an array object to replace.

  • array.c (rb_ary_insert): get rid of creating temporary array.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e