-
Notifications
You must be signed in to change notification settings - Fork 2
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
Improve performance #16
Conversation
Only for MM and yy for now
…y how they function
… gsub() because we expect only one replacement
Thank you! As with the other projects, please add yourself to the DESCRIPTION as your contributions are valuable! |
Thanks! I will stop it there for now. But I see about +30-50% performance improvement for the base |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Summary
I noticed that many operations were performed more than once unnecessarily.
This PR aims to reduce this duplication.
It is not a perfect solution but it is the one that respects more the current structure.
I notice a speedup 690 ms -> 580 ms
Related GitHub Issues and PRs