diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-05 13:54:36 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-05 13:54:36 +0000 |
commit | 59091322fd1344e46d0e17d187461937ac9393d6 (patch) | |
tree | 792f7d97e9e9d5dc7843fee263a2516eb4ffb4c0 /struct.c | |
parent | 25d3c61306bc6b57de3ffa58c4f109adaa7c87fc (diff) | |
download | ruby-59091322fd1344e46d0e17d187461937ac9393d6.tar.gz ruby-59091322fd1344e46d0e17d187461937ac9393d6.tar.xz ruby-59091322fd1344e46d0e17d187461937ac9393d6.zip |
* string.c (is_utf8_lead_byte, count_utf8_lead_bytes_with_ulong):
defined for UTF-8 optimization.
* string.c (str_strlen): use is_utf8_lead_byte and
count_utf8_lead_bytes_with_ulong.
* string.c (str_utf8_nth) ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions