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

Optimize Diff for frequent equality #204

Merged
merged 1 commit into from May 26, 2020
Merged

Optimize Diff for frequent equality #204

merged 1 commit into from May 26, 2020

Conversation

dsnet
Copy link
Collaborator

@dsnet dsnet commented May 20, 2020

Diff is most often used in tests where the expected outcome
is equality (and thus no reported difference). Optimize for this
situation by performing a fast-pass equality check and only fall
back on constructing a report if inequal.

Diff is most often used in tests where the expected outcome
is equality (and thus no reported difference). Optimize for this
situation by performing a fast-pass equality check and only fall
back on constructing a report if inequal.
@dsnet dsnet merged commit 4a83f56 into master May 26, 2020
@dsnet dsnet deleted the opt-diff branch May 26, 2020 20:29
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

2 participants