mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +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`. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |