prefix-dev / rip

Solve and install Python packages quickly with rip (pip in Rust)
https://prefix.dev
BSD 3-Clause "New" or "Revised" License
645 stars 21 forks source link

feat: cache retrieving of python executable #160

Closed nichmor closed 7 months ago

nichmor commented 7 months ago

closes #134

I've decided to not introduce lazy_static as dependency, and to use OnceLock https://github.com/rust-lang-nursery/lazy-static.rs/pull/216/files ( in my case, sync::OnceCell )

wolfv commented 7 months ago

excellent!

tdejager commented 7 months ago

Great PR! Only 1 merge conflict :)

tdejager commented 7 months ago

closes #134

I've decided to not introduce lazy_static as dependency, and to use OnceLock https://github.com/rust-lang-nursery/lazy-static.rs/pull/216/files ( in my case, sync::OnceCell )

Yeah this is also preferred as of 2 release ago.