Project

General

Profile

« Previous | Next » 

Revision fa8b08b4

Added by nobu (Nobuyoshi Nakada) about 7 years ago

Prefer rb_fstring_lit over rb_fstring_cstr

The former states explicitly that the argument must be a literal,
and can optimize away strlen on all compilers.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e