summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-22 23:17:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-22 23:17:21 +0000
commit734b61518b85ad3fb9d6ba9406249166ec2404c0 (patch)
tree82d9a7df8a9935b751cd4c2c8f3e69511907134d /template
parentb0eaf0f621353b9075ff5ad8e4cd663da6a36dce (diff)
* string.c (str_nth_len, str_utf8_nth): return the rest length together.
* string.c (rb_str_substr): get rid of measure the length always to improve performance for huge string. [ruby-core:34648] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
0 files changed, 0 insertions, 0 deletions