compile.c (compile_dstr_fragments): fix performance by omitting
the first empty string only for keeping literal encoding if
other literals are too. [ruby-core:70930] [Bug #11556]
string.c (rb_str_append_literal): append but keep encoding non
US-ASCII.
compile.c: fix performance of strconcat
the first empty string only for keeping literal encoding if
other literals are too. [ruby-core:70930] [Bug #11556]
US-ASCII.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e