-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[LANG-1588] performance refine for StringUtils.center #577
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
base: master
Are you sure you want to change the base?
Conversation
I do not understand what this PR is about and you'd be correct in assuming that I did not parse out the new code in my head or run it in the debugger. What are you "refining" here? If you change the algorithm, please use the commit comment to explain why implementing this method in this manner is better. The commit comment and code comment are only way for anyone looking at the code and commit log to make sense of what your intent it is and why it happened. TY. |
@garydgregory |
jmh result:
|
3cba9db
to
31a1989
Compare
@garydgregory rebased. please find some time to review. thanks. |
as title.