Project

General

Profile

« Previous | Next » 

Revision aaa9cb1a

Added by nobu (Nobuyoshi Nakada) over 11 years ago

array.c: use shared array in rb_ary_slice

  • array.c (rb_ary_splice): use shared array in rb_ary_slice.
    [Feature #6638]
    • use ary_ensure_room_for_push when rb_ary_slice used to add at the
      end of array, cause rb_ary_concat use rb_ary_slice.

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