Skip to content

Further optimised palindrome-products solution (exercism#898) #1407

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

Merged
merged 2 commits into from
Oct 6, 2021
Merged

Further optimised palindrome-products solution (exercism#898) #1407

merged 2 commits into from
Oct 6, 2021

Conversation

qianzhong516
Copy link
Contributor

Hi, this pull request is relate to #1398. I optimised more code based on dicussion with @joshgoebel. Thanks!

@junedev
Copy link
Member

junedev commented Oct 6, 2021

@qianzhong516 I am a bit confused by this. #1398 is not merged yet so why not apply the improvements there directly?

@qianzhong516
Copy link
Contributor Author

@qianzhong516 I am a bit confused by this. #1398 is not merged yet so why not apply the improvements there directly?

Sorry about that, because I realized I mixed with a few other previous merged commits in #1398... I wasn't sure if that would make the process more complicated when you guys merge the changes, that's why I restarted with a new branch then created a new pull request. Please let me know the better way to do it, so I will do accordingly next time :)

Copy link
Member

@junedev junedev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving this based on @joshgoebel s review here #1398
I also tested it and it works just as advertised, from 30s down to 1.5s. 🎉

@junedev junedev added hacktoberfest-accepted Opt-in to hacktoberfest x:size/medium Medium amount of work labels Oct 6, 2021
@junedev junedev merged commit a4d02ba into exercism:main Oct 6, 2021
@junedev junedev linked an issue Oct 8, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Opt-in to hacktoberfest x:size/medium Medium amount of work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

palindrome-products: optimise implementation
2 participants