-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
Uncomment doctest in Project Euler problem 009 solution 3 #5745
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
Uncomment doctest in Project Euler problem 009 solution 3 #5745
Conversation
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.
Nice improvement. Cleaner documentation.
In https://github.com/TheAlgorithms/Python/actions under
|
I have already optimized this solution in #5703. Do you have any ideas why |
|
Here they both do the whole directory. The question is about concrete
I don't understand why |
@cclauss ? |
@dhruvmanila Created validate solutions. |
|
So |
Tests are a good thing. We do not want to remove tests because there are too many of them. We only want to remove tests if they significantly slow down our GitHub Actions. |
I still don't understand significant slowdown during
which should take about 10 seconds.
So, what does project-euler waste 40 additional seconds on?
for
|
Locally, did you try |
|
So, there is slowdown due to coverage parameters. |
I don't look at coverage output so I would be happy to deep-six it. |
Describe your change:
Uncomment doctest in Project Euler problem 009 solution 3:
Uncomment code that has been commented due to slow execution affecting Travis (it executes quite fast and doesn't affect Travis)
Add an algorithm?
Fix a bug or typo in an existing algorithm?
Documentation change?
Checklist:
Fixes: #{$ISSUE_NO}
.