-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Breadth first search for conflicts #9006
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
Conversation
76e45a8
to
021a434
Compare
def59fd
to
fedc4b1
Compare
@@ -409,14 +424,33 @@ def build_conflict_map(self, specs, specs_to_add=None, history_specs=None): | |||
# records_per_name is a completely arbitrary number here. It is meant to gather more | |||
# than just one record, to explore the space of dependencies a bit. Doing all of them | |||
# can be an enormous problem, though. This is hopefully a good compromise. | |||
records_per_name = 7 |
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.
removing this limit may slow things down a lot. Have you done any kind of speed test? Especially with the anaconda metapackage - the more packages involved, the slower this will 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.
Tried this out with anaconda metapackage, yep slows it down a ton!
conda/resolve.py
Outdated
|
||
for spec in spec_order: | ||
allowed_specs = sdeps[spec] | ||
ga = GeneralGraph([_ for allowed_pkgs in allowed_specs.values() |
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.
can we use the graph we already have above, but filter it somehow? Creation of the graph is pretty expensive.
70d6796
to
c070855
Compare
Hi there, thank you for your contribution to Conda! This pull request has been automatically locked since it has not had recent activity after it was closed. Please open a new issue or pull request if needed. |
No description provided.