Prefer rb_fstring_lit over rb_fstring_cstr
rb_fstring_lit
rb_fstring_cstr
The former states explicitly that the argument must be a literal, and can optimize away strlen on all compilers.
strlen
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Prefer
rb_fstring_litoverrb_fstring_cstrThe former states explicitly that the argument must be a literal,
and can optimize away
strlenon all compilers.git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e