diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-09 03:52:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-09 03:52:39 +0000 |
commit | 489c380cd6eacdd3e3e2f038342b6c1ad117e319 (patch) | |
tree | a5208c207884eddbd3202138c9c2869057c56dc7 /class.c | |
parent | 86983eb781ac23cea69cddec8fa42f7173104cf5 (diff) | |
download | ruby-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 'class.c')
0 files changed, 0 insertions, 0 deletions