aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-17 00:55:55 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-17 00:55:55 +0000
commit8b8d8e19862464e761590e6fc67823befebad5bd (patch)
tree2096dc0f1d95292c473adfc48a811873a70ea68f /lib/rubygems
parent9ca27837de3dee99e359cc37049878afa7f5654f (diff)
downloadruby-8b8d8e19862464e761590e6fc67823befebad5bd.tar.gz
deduplicate static rb_str_format format strings
Anybody who hits these code paths can hit them again in the future, so try deduplicating across multiple runs of these methods to reduce garbage. * string.c (str_upto_each): fstring on "%.*d" * strftime.c (rb_strftime_with_timespec): fstring on "%0*d" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems')
0 files changed, 0 insertions, 0 deletions