pip install and pip check spend measurable time in dependency conflict detection. Two low-risk improvements stand out:
- Cache canonicalized dependency names when building package details so later conflict checks can reuse them.
- Make whitelist construction in install conflict checking order-independent while keeping the existing scope limited to the target packages and their direct dependents.\n\nThis should reduce overhead in a common path without broadening conflict detection behavior.
pip install and pip check spend measurable time in dependency conflict detection. Two low-risk improvements stand out: