diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-19 12:56:58 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-19 12:56:58 +0000 |
commit | 6e3c4fd8b53f1bfa5741d6a1f88139837f631bef (patch) | |
tree | 22d4bf48757885273600e50d7812c0e31d44571d /ChangeLog | |
parent | 8d8ead142c7849ccf719ca451fc8cbea2105b3a6 (diff) |
* array.c: reduce shady operations.
* array.c (rb_ary_modify, ary_make_partial, rb_ary_splice,
rb_ary_replace, rb_ary_eql, rb_ary_compact_bang):
use RARRAY_RAWPTR() instead of RARRAY_PTR().
* array.c (rb_ary_shift): use RARRAY_PTR_USE() without WB because
there are not new relations.
* array.c (ary_ensure_room_for_unshift): ditto.
* array.c (rb_ary_sort_bang): ditto.
* array.c (rb_ary_delete_at): ditto.
* array.c (rb_ary_reverse_m): use RARRAY_RAWPTR() because
there are not new relations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -1,3 +1,23 @@ +Fri Jul 19 21:35:09 2013 Koichi Sasada <ko1@atdot.net> + + * array.c: reduce shady operations. + + * array.c (rb_ary_modify, ary_make_partial, rb_ary_splice, + rb_ary_replace, rb_ary_eql, rb_ary_compact_bang): + use RARRAY_RAWPTR() instead of RARRAY_PTR(). + + * array.c (rb_ary_shift): use RARRAY_PTR_USE() without WB because + there are not new relations. + + * array.c (ary_ensure_room_for_unshift): ditto. + + * array.c (rb_ary_sort_bang): ditto. + + * array.c (rb_ary_delete_at): ditto. + + * array.c (rb_ary_reverse_m): use RARRAY_RAWPTR() because + there are not new relations. + Fri Jul 19 20:58:20 2013 Koichi Sasada <ko1@atdot.net> * array.c: reduce shade operations. |