From 68a6f2e9e0c6fc2ba09463c848dbbb4ece3e07a1 Mon Sep 17 00:00:00 2001 From: mame Date: Thu, 17 Mar 2016 12:14:21 +0000 Subject: * array.c (rb_ary_max, rb_ary_min): Array#max and Array#min added. [Feature #12172] * internal.h (OPTIMIZED_CMP): moved from enum.c so that array.c can use it. * test/ruby/test_array.rb (test_max, test_min): tests for Array#max and Array#min. * test/ruby/test_enum.rb (test_max, test_min): revised a bit to test Enumerable#max and #min explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index c8d93d9883..86840ab4ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,18 @@ -Thu Mar 17 21:02:42 2016 Yusuke Endoh +Thu Mar 17 21:09:34 2016 Yusuke Endoh + + * array.c (rb_ary_max, rb_ary_min): Array#max and Array#min added. + [Feature #12172] + + * internal.h (OPTIMIZED_CMP): moved from enum.c so that array.c can + use it. + + * test/ruby/test_array.rb (test_max, test_min): tests for Array#max + and Array#min. + + * test/ruby/test_enum.rb (test_max, test_min): revised a bit to test + Enumerable#max and #min explicitly. + +Thu Mar 17 21:02:42 2016 Yusuke Endoh * internal.c: struct cmp_opt_data added for refactoring out a data structure for CMP_OPTIMIZABLE -- cgit v1.2.3