aboutsummaryrefslogtreecommitdiffstats
path: root/gem_prelude.rb
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-17 00:55:45 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-17 00:55:45 +0000
commit7ee2c030b0b55f455abb6f07850e41e45d91984f (patch)
treee8a9c655651d403740ee5a58364af7eb9ac07a92 /gem_prelude.rb
parent314c1d8956c56709d60675e8ed5d1a3d3b8405f0 (diff)
downloadruby-7ee2c030b0b55f455abb6f07850e41e45d91984f.tar.gz
deduplicate "/", ":" and "\n" strings
"/" and ":" are always statically registered in symbol.c (Init_op_tbl), and "\n" is a commonly seen in source code. * file.c (Init_File): fstring on File::SEPARATOR and File::PATH_SEPARATOR * io.c (Init_IO): fstring on rb_default_rs ("\n") git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gem_prelude.rb')
0 files changed, 0 insertions, 0 deletions