[ruby-cvs:72530] ko1:r65430 (trunk): use RARRAY_AREF() instead of RARRAY_CONST_PTR().

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Oct 30 03:00:03 JST 2018


ko1	2018-10-30 03:00:02 +0900 (Tue, 30 Oct 2018)

  New Revision: 65430

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

  Log:
    use RARRAY_AREF() instead of RARRAY_CONST_PTR().
    
    * class.c (rb_keyword_error_new): use RARRAY_AREF() because
      RARRAY_CONST_PTR() can introduce additional overhead in a futre.
      Same fixes for other files.

  Modified files:
    trunk/class.c
    trunk/enum.c
    trunk/gc.c
    trunk/struct.c


More information about the ruby-cvs mailing list