summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_math.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 10:39:20 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 10:39:20 +0000
commit044283fb5b829c30e72c2ed802d101823b1dbdc1 (patch)
tree16fb7ee59e9db67ff38333120a6917d431a40de3 /test/ruby/test_math.rb
parent11af38a6fdf4e89ef73b642590872b97b798a339 (diff)
downloadruby-044283fb5b829c30e72c2ed802d101823b1dbdc1.tar.gz
ruby-044283fb5b829c30e72c2ed802d101823b1dbdc1.tar.xz
ruby-044283fb5b829c30e72c2ed802d101823b1dbdc1.zip
* string.c (IS_7BIT): removed.
(single_byte_optimizable): new function to test optimizationability using single byte string. (str_strlen): use single_byte_optimizable instead of is_ascii_string. (str_nth): rename argument: asc -> singlebyte. (str_offset): ditto. (rb_str_substr): use single_byte_optimizable instead of IS_7BIT. (rb_str_index): ditto. (rb_str_rindex): ditto. (rb_str_splice): ditto. (rb_str_justify): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_math.rb')
0 files changed, 0 insertions, 0 deletions