зеркало из https://github.com/github/ruby.git
array.c: decoration
* array.c (rb_ary_plus): inline decoration of the operator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
24f5f816ff
Коммит
820e5ade8b
3
array.c
3
array.c
|
@ -3530,12 +3530,11 @@ rb_ary_fill(int argc, VALUE *argv, VALUE ary)
|
|||
* is the same as
|
||||
* x = x + y
|
||||
* This means that it produces a new array. As a consequence,
|
||||
* repeated use of += on arrays can be quite inefficient.
|
||||
* repeated use of <code>+=</code> on arrays can be quite inefficient.
|
||||
*
|
||||
* See also Array#concat.
|
||||
*/
|
||||
|
||||
|
||||
VALUE
|
||||
rb_ary_plus(VALUE x, VALUE y)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче