Uncomment doctest in Project Euler problem 009 solution 3#5745
Conversation
IdoErel
left a comment
There was a problem hiding this comment.
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}.