Project

General

Profile

« Previous | Next » 

Revision 8d501ec0

Added by nobu (Nobuyoshi Nakada) over 7 years ago

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