Peaked at #9 Off the board
uv split into 14 crates
Charlie Marsh split uv's main crate from 46k to 6k lines across 14 crates, speeding incremental builds by 30-40%.
Original post
Cargo's compilation model is built around crates: independent crates get compiled in parallel, and unaffected crates can be skipped entirely.
We split up uv's primary crate into 14 (!) crates (from 46k to 6k lines of code), and it sped up incremental build times by 30 to 40%! https://t.co/Q2GnULqfnm
What others are saying
1 more-
uv creator Charlie Marsh says AI agents helped split uv's main crate into 14 (46k to 6k lines), speeding incremental builds 30-40%.
View on X
Top replies on X
Sign in to see 2 top replies from X
From @charliermarsh, @mitsuhiko and others. Spam removed, with English and Chinese translations.
Discussion 0
Sign up Sign in to join the discussion
No comments yet. Start the conversation.