mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
b0eaf0f621
commit
734b61518b
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ Sun Jan 23 08:00:09 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|||
* 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.
|
||||
to improve performance for huge string. [ruby-core:34648]
|
||||
|
||||
Sun Jan 23 00:40:10 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue