-
-
Notifications
You must be signed in to change notification settings - Fork 45.7k
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
Optimize Project Euler solutions #8594
Comments
Is this still open?? |
Yes |
Regarding problem 034, I've stumbled upon this proof . This proof lowers the upper bound from the current Additionally I'd prefer if that upper limit would have a comment / reference attached to it, stating their origin. Otherwise, this limit looks very arbitrary. ============= Regarding the aforementioned proof: At first glance, admittedly it has two phrases, which are formulated incorrectly / ambiguously; but it looks solid.
should end in
should clarify
|
for problem 10, |
Thanks for chiming in! I agree although for now we shouldn't delete existing solutions but we're disallowing any new solutions unless it takes a completely different approach. |
Dividing number number and using remainder is about 25% faster.
Dividing number number and using remainder is about 25% faster.
@dhruvmanila I checked the boxes, but there is still a conflict, I can’t understand what? |
Hi @dhruvmanila, I've submitted two pull requests (#10558, #10580) that I believe are ready for review and merging. Could you please take a look and assist with the merge process? Also, I've tried improving performance of project euler 104. I'm wondering if it would be a good idea to include these improvements in the same pull request (#10615). Your feedback and assistance are greatly appreciated! Thanks in advance. |
Hey @manpreetsingh2004, thanks and sorry to keep you waiting! I'll take a look at it this weekend. |
Feature description
If someone would like to take a stab at optimizing these solutions, feel free to open a PR or ask for any help here:
Slowest 10 durations
Reference: https://github.com/TheAlgorithms/Python/actions/runs/4580132675/jobs/8088552368#step:5:356
The text was updated successfully, but these errors were encountered: