[ruby-cvs:62767] nobu:r55603 (trunk): io.c: convert arguments just once

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jul 7 16:31:09 JST 2016


nobu	2016-07-07 16:31:09 +0900 (Thu, 07 Jul 2016)

  New Revision: 55603

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

  Log:
    io.c: convert arguments just once
    
    * io.c (rb_io_s_foreach, rb_io_s_readlines): convert arguments
      just once before reading, instead of conversions for each lines.

  Modified files:
    trunk/ChangeLog
    trunk/io.c
    trunk/test/ruby/test_io.rb


More information about the ruby-cvs mailing list