Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] Changed startsWith and endsWith to use substr (non mbstring) #15380

Merged
merged 2 commits into from
Sep 11, 2016
Merged

[5.3] Changed startsWith and endsWith to use substr (non mbstring) #15380

merged 2 commits into from
Sep 11, 2016

Commits on Sep 9, 2016

  1. Changed startsWith and endsWith to use substr (non mbstring), this is…

    … ok here because it doesn't
    
    matter whether it's multi-byte unicode chars or not, just that the same number of bytes match at
    the start or the end.
    
    The performance of the existing methods becomes increasingly slow with larger strings due to
     mbstring functions.
    Perturbatio committed Sep 9, 2016
    Configuration menu
    Copy the full SHA
    d6d2e00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c14e35 View commit details
    Browse the repository at this point in the history