Project

General

Profile

« Previous | Next » 

Revision ed8b452e

Added by nobu (Nobuyoshi Nakada) over 8 years ago

compile.c: fix performance of strconcat

  • 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.

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