mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-17 13:58:29 +00:00
![]() ## Summary Internal refactor to `PrioritizedDistribution` that I think should reduce the size? Although the motivation here is simplicity, not perf. Instead of storing: ```rust /// The highest-priority, installable wheel for the package version. compatible_wheel: Option<(DistMetadata, TagPriority)>, /// The most-relevant, incompatible wheel for the package version. incompatible_wheel: Option<(DistMetadata, IncompatibleWheel)>, ``` We now store: ```rust wheel: Option<(DistMetadata, WheelCompatibility)>, ``` Where `WheelCompatibility` is an enum of `TagPriority` or `IncompatibleWheel`. |
||
---|---|---|
.. | ||
pubgrub | ||
resolver | ||
candidate_selector.rs | ||
constraints.rs | ||
dependency_mode.rs | ||
editables.rs | ||
error.rs | ||
finder.rs | ||
lib.rs | ||
manifest.rs | ||
options.rs | ||
overrides.rs | ||
pins.rs | ||
prerelease_mode.rs | ||
python_requirement.rs | ||
resolution.rs | ||
resolution_mode.rs | ||
version_map.rs | ||
yanks.rs |