forked from pubgrub-rs/pubgrub
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: fewer intersections in satisfier (pubgrub-rs#174)
* check that nothing changed * inline subset_of * Apply !incompat_term to both sides * T.intersection( !T ) == empty * precomputed start_term.intersection(&incompat_term.negate()) * move the checking code * switch to partition_point * remove the option * compute intersection_term outside of satisfier * intersection with any is self * remove test code * remove unused arguments * rename vars * dont clone P * nothing meaningful * use cause not index * clippy
- Loading branch information
Showing
3 changed files
with
49 additions
and
60 deletions.
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