diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-24 02:20:45 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-24 02:20:45 +0000 |
commit | 7841a8f921bda69c53e6772da9df8371d9c8c151 (patch) | |
tree | 66c9d6aaad2a7cf6da6851be5194eca82866bed1 /tool/id2token.rb | |
parent | b78f2cc998240a0efa38475d21a8f2d538e539c3 (diff) | |
download | ruby-7841a8f921bda69c53e6772da9df8371d9c8c151.tar.gz |
numeric.c: micro optimizations
* numeric.c (flo_to_s, rb_fix2str): use rb_usascii_str_new instead
of rb_usascii_str_new_cstr, when the length can be calculated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/id2token.rb')
0 files changed, 0 insertions, 0 deletions