[ruby-cvs:72085] ko1:r64985 (trunk): revisit `RARRAY_PTR()`.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Oct 10 12:52:20 JST 2018


ko1	2018-10-10 12:52:20 +0900 (Wed, 10 Oct 2018)

  New Revision: 64985

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

  Log:
    revisit `RARRAY_PTR()`.
    
    * array.c (ary_memcpy0): remove traditional `RARRAY_PTR()` code.
      It's enough stable.
    
    * array.c (rb_ary_splice): add comment about wb-unprotect.
    
    * array.c (rotate_count): use `RARRAY_PTR_USE()` instead of
      `RARRAY_PTR()` to avoid wb-unprotect.

  Modified files:
    trunk/array.c


More information about the ruby-cvs mailing list