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

Make Algorithm static and optimize diff method #3

Merged
merged 2 commits into from Jul 2, 2018

Conversation

zenangst
Copy link
Owner

@zenangst zenangst commented Jul 2, 2018

The diff method has been made static and the implementation has been optimized. Now the for-loop retain their own index, it also iterates over ArraySlices.

The diff method has been made static and the implementation has been optimized. Now the for-loop retain their own index, it also iterates of ArraySlices.
@codecov-io
Copy link

Codecov Report

Merging #3 into master will decrease coverage by 0.04%.
The diff coverage is 97.29%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
- Coverage   69.71%   69.67%   -0.05%     
==========================================
  Files          15       15              
  Lines         710      709       -1     
==========================================
- Hits          495      494       -1     
  Misses        215      215
Impacted Files Coverage Δ
Source/Shared/DiffManager.swift 100% <100%> (ø) ⬆️
Source/Shared/Algorithm.swift 92.59% <97.22%> (+0.09%) ⬆️

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 8442276...9b76022. Read the comment docs.

@zenangst zenangst merged commit 1ab3880 into master Jul 2, 2018
@zenangst zenangst deleted the internal/optimization branch July 2, 2018 20:18
@onmyway133
Copy link
Sponsor

tenor

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.

None yet

3 participants