summaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-09 03:52:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-09 03:52:39 +0000
commit489c380cd6eacdd3e3e2f038342b6c1ad117e319 (patch)
treea5208c207884eddbd3202138c9c2869057c56dc7 /numeric.c
parent86983eb781ac23cea69cddec8fa42f7173104cf5 (diff)
downloadruby-489c380cd6eacdd3e3e2f038342b6c1ad117e319.tar.gz
ruby-489c380cd6eacdd3e3e2f038342b6c1ad117e319.tar.xz
ruby-489c380cd6eacdd3e3e2f038342b6c1ad117e319.zip
* ext/stringio/stringio.c (check_modifiable): performance
improvement. avoid calling rb_str_modify() twice. * ext/stringio/stringio.c (strio_ungetc): ditto. * ext/stringio/stringio.c (strio_putc): ditto. * ext/stringio/stringio.c (strio_write): ditto, and use rb_str_cat() as possible. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
0 files changed, 0 insertions, 0 deletions