[前][次][番号順一覧][スレッド一覧]

ruby-changes:36602

From: nobu <ko1@a...>
Date: Tue, 2 Dec 2014 15:59:35 +0900 (JST)
Subject: [ruby-changes:36602] nobu:r48683 (trunk): array.c: decoration

nobu	2014-12-02 15:59:25 +0900 (Tue, 02 Dec 2014)

  New Revision: 48683

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48683

  Log:
    array.c: decoration
    
    * array.c (rb_ary_plus): inline decoration of the operator.

  Modified files:
    trunk/array.c
Index: array.c
===================================================================
--- array.c	(revision 48682)
+++ array.c	(revision 48683)
@@ -3530,12 +3530,11 @@ rb_ary_fill(int argc, VALUE *argv, VALUE https://github.com/ruby/ruby/blob/trunk/array.c#L3530
  *  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)
 {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]