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

ruby-changes:39946

From: akr <ko1@a...>
Date: Sun, 4 Oct 2015 23:42:57 +0900 (JST)
Subject: [ruby-changes:39946] akr:r52027 (trunk): add a comment.

akr	2015-10-04 23:42:52 +0900 (Sun, 04 Oct 2015)

  New Revision: 52027

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

  Log:
    add a comment.

  Modified files:
    trunk/enum.c
Index: enum.c
===================================================================
--- enum.c	(revision 52026)
+++ enum.c	(revision 52027)
@@ -1261,7 +1261,7 @@ nmin_filter(struct nmin_data *data) https://github.com/ruby/ruby/blob/trunk/enum.c#L1261
 #undef GETPTR
 #undef SWAP
 
-    data->limit = RARRAY_PTR(data->buf)[store_index*eltsize];
+    data->limit = RARRAY_PTR(data->buf)[store_index*eltsize]; /* the last pivot */
     data->curlen = data->n;
     rb_ary_resize(data->buf, data->n * eltsize);
 }

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

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