summaryrefslogtreecommitdiff
path: root/ext/zlib
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-01 01:16:26 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-01 01:16:26 +0000
commitd1a506eca7f010ec85772a5904fbab6a4fdc562e (patch)
tree34573ce37de4d4c37267072b26d839bb467860ad /ext/zlib
parent98374b99dd69eeb8f74272e26aaf7bba8836bd6d (diff)
deduplicate strings sooner at load and compile
We can use rb_fstring_cstr in some places to prevent an intermediate object from being created before deduplication via rb_fstring. * compile.c (iseq_compile_each): use rb_fstring_cstr (rb_insns_name_array): ditto * load.c (rb_load_internal0): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/zlib')
0 files changed, 0 insertions, 0 deletions