[ruby-cvs:65663] normal:r58491 (trunk): load.c: make fstrings from C strings sooner

normal at ruby-lang.org normal at ruby-lang.org
Thu Apr 27 12:16:39 JST 2017


normal	2017-04-27 12:16:39 +0900 (Thu, 27 Apr 2017)

  New Revision: 58491

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

  Log:
    load.c: make fstrings from C strings sooner
    
    The underlying string objects will become fstrings anyways,
    so create the fstring directly from the C string to reduce
    intermediate garbage.
    
    * load.c (rb_provide, rb_provide): create fstring

  Modified files:
    trunk/load.c


More information about the ruby-cvs mailing list