Hacker News new | ask | show | jobs
by robertlagrant 540 days ago
How is uv so much faster? My understanding is Poetry is slow sometimes because PyPi doesn't have all the metadata required to solve things, so it needs to download packages and then figure it out.
1 comments

If I recall correctly, uv is doing some ninja stuff like guessing the part of the relevant file that is likely to contain the metadata it needs and then doing a range request to avoid downloading the whole file.
Thanks, that makes sense. I guess Poetry could add that if they liked.