[ruby-cvs:61971] naruse:r54809 (trunk): * re.c (rb_reg_prepare_enc): use rb_enc_asciicompat(enc) instead of

naruse at ruby-lang.org naruse at ruby-lang.org
Thu Apr 28 16:52:59 JST 2016


naruse	2016-04-28 16:52:59 +0900 (Thu, 28 Apr 2016)

  New Revision: 54809

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

  Log:
    * re.c (rb_reg_prepare_enc): use rb_enc_asciicompat(enc) instead of
      rb_enc_str_asciicompat_p(str) to avoid useless rb_enc_get(str) call.

  Modified files:
    trunk/ChangeLog
    trunk/re.c


More information about the ruby-cvs mailing list