uv/crates/uv-resolver
Andrew Gallant 0b84eb0140
once-map: avoid hard-coding Arc (#3242)
The only thing a `OnceMap` really needs to be able to do with the value
is to clone it. All extant uses benefited from having this done for them
by automatically wrapping values in an `Arc`. But this isn't necessarily
true for all things. For example, a value might have an `Arc` internally
to making cloning cheap in other contexts, and it doesn't make sense to
re-wrap it in an `Arc` just to use it with a `OnceMap`. Or
alternatively, cloning might just be cheap enough on its own that an
`Arc` isn't worth it.
2024-04-24 11:11:46 -04:00
..
src once-map: avoid hard-coding Arc (#3242) 2024-04-24 11:11:46 -04:00
tests Move ExcludeNewer into its own type (#3041) 2024-04-15 20:24:08 +00:00
Cargo.toml Fix single crate tokio features (#3234) 2024-04-24 08:55:15 +00:00