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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(computeDifferences): ensure Overwrite strategy is actually faster #586

Merged
merged 2 commits into from Jan 4, 2023

Conversation

vladfrangu
Copy link
Member

The way getCommandDifferencesFast was built made sense, returning when the first difference was found.

Only issue is that the method it actually used internally, which is the verbose difference one, would still process all differences in the command BEFORE returning, BEFORE getCommandDifferencesFast would see if any difference is present.

Basically it was faster in name only. Now it should actually be faster 馃

src/lib/types/Enums.ts Show resolved Hide resolved
@favna favna changed the title fix(computeDifferences): actually end up making Overwrite faster fix(computeDifferences): ensure Overwrite strategy is actually faster Jan 4, 2023
@favna favna merged commit bfa3561 into main Jan 4, 2023
@favna favna deleted the fix/make-overwrite-mode-actually-fast branch January 4, 2023 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants