Skip to content
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

Replace few recursions #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fancywriter
Copy link
Contributor

Although it didn't help me (yet) to find the solution to stack overflow error, it is still better, less lines and easier to understand. I still don't understand what push method does though... and I didn't do much optimization with it... looks like it can be three nested foldLeft, but not sure yet if possible.

@fancywriter fancywriter force-pushed the feature/recursion-fold branch from 2fdf020 to 4cb5320 Compare June 20, 2017 20:44
@codecov-io
Copy link

codecov-io commented Jun 20, 2017

Codecov Report

Merging #16 into master will decrease coverage by 0.13%.
The diff coverage is 93.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
- Coverage   38.63%   38.49%   -0.14%     
==========================================
  Files          43       43              
  Lines        1522     1517       -5     
  Branches      167      157      -10     
==========================================
- Hits          588      584       -4     
+ Misses        934      933       -1
Impacted Files Coverage Δ
src/main/scala/gnieh/diff/Patience.scala 84.21% <93.33%> (+0.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4638f6...fd23c61. Read the comment docs.

@fancywriter fancywriter force-pushed the feature/recursion-fold branch from 4cb5320 to c3d9892 Compare June 22, 2017 19:43
@fancywriter fancywriter force-pushed the feature/recursion-fold branch from c3d9892 to fd23c61 Compare June 29, 2017 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants