-
Notifications
You must be signed in to change notification settings - Fork 38
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
perf: fewer intersections in satisfier #174
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
4747591
check that nothing changed
Eh2406 295acd8
inline subset_of
Eh2406 c004e21
Apply !incompat_term to both sides
Eh2406 a853ca8
T.intersection( !T ) == empty
Eh2406 4992c51
precomputed start_term.intersection(&incompat_term.negate())
Eh2406 10d70c7
move the checking code
Eh2406 5468475
switch to partition_point
Eh2406 a21a947
remove the option
Eh2406 d9d2be4
compute intersection_term outside of satisfier
Eh2406 7210001
intersection with any is self
Eh2406 d16e234
remove test code
Eh2406 d2b4669
remove unused arguments
Eh2406 0f0ce58
rename vars
Eh2406 5b1afcf
dont clone P
Eh2406 8594c12
nothing meaningful
Eh2406 f4b6dc2
use cause not index
Eh2406 a890799
clippy
Eh2406 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
>=
is a bit weird to read for "same decision level" no? shouldn't it be==
? I might have forgotten but the search starts at the same decision level right? so it could not go>
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I believe
==
would also be correct. The re-factoring tool gave me>=
when flipping the if as a simplification of!(previous_satisfier_level < satisfier_decision_level)
. How should we leave it?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to call it defensive coding, and if we change our mind PR's are cheap.