diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-26 05:10:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-26 05:10:56 +0000 |
commit | 71789a197dd349f97af6dcb8cfa0f856ee44ce1e (patch) | |
tree | 1a7044299593ff78a053b592f94904b1f1cba4d5 /lib | |
parent | 21dd748e15469bf504940a2a2febcd5d03a2e5a8 (diff) | |
download | ruby-71789a197dd349f97af6dcb8cfa0f856ee44ce1e.tar.gz |
string.c: fast path of lstrip_offset
* string.c (lstrip_offset): add a fast path in the case of single
byte optimizable strings, as well as rstrip_offset.
[ruby-core:77392] [Feature #12788]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions