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

Optimizations #240

Merged
merged 2 commits into from
Mar 27, 2016
Merged

Optimizations #240

merged 2 commits into from
Mar 27, 2016

Conversation

colinodell
Copy link
Member

No description provided.

@colinodell colinodell added the performance Something could be made faster or more efficient label Mar 27, 2016
Previously, checking each character would require a peek() and therefore
another mb_substr call.  Instead of doing this, let's just retrieve the next
few characters with a single call, split them into an array, and iterate over
that instead.
@colinodell colinodell merged commit bfe1040 into master Mar 27, 2016
@colinodell colinodell deleted the optimizations branch March 27, 2016 17:39
@colinodell colinodell restored the optimizations branch March 27, 2016 17:39
@colinodell colinodell deleted the optimizations branch March 27, 2016 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Something could be made faster or more efficient
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant