jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
7.84k stars 188 forks source link

[perf] Skip cache check if store path exists locally #2042

Closed mikeland73 closed 1 month ago

mikeland73 commented 1 month ago

Summary

If store path exists locally, we know we can use that store path in fetchClosure. This helps speed up almost any operation where state is not up to date and we need to check if some store path is in cache.

How was it tested?

devbox run echo 5