mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Typo fixes (#9057)
This commit is contained in:
parent
c5caf92edf
commit
5248dff2dc
2 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ impl VersionSpecifiers {
|
|||
self.iter().all(|specifier| specifier.contains(version))
|
||||
}
|
||||
|
||||
/// Returns `true` if the specifiers are empty is empty.
|
||||
/// Returns `true` if there are no specifiers.
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.0.is_empty()
|
||||
}
|
||||
|
|
|
@ -14,9 +14,9 @@ in the worst case you have to try all possible combinations of all versions of a
|
|||
there are no general, fast algorithms. In practice, this is misleading for a number of reasons:
|
||||
|
||||
- The slowest part of resolution in uv is loading package and version metadata, even if it's cached.
|
||||
- There are many possible solutions, but some are preferable than others. For example we generally
|
||||
- There are many possible solutions, but some are preferable to others. For example, we generally
|
||||
prefer using the latest version of packages.
|
||||
- Package's dependencies are complex, e.g., there are contiguous versions ranges — not arbitrary
|
||||
- Package dependencies are complex, e.g., there are contiguous versions ranges — not arbitrary
|
||||
boolean inclusion/exclusions of versions, adjacent releases often have the same or similar
|
||||
requirements, etc.
|
||||
- For most resolutions, the resolver doesn't need to backtrack, picking versions iteratively is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue