Skip to content

Commit

Permalink
Auto merge of rust-lang#126793 - saethlin:mono-rawvec, r=scottmcm
Browse files Browse the repository at this point in the history
Apply "polymorphization at home" to RawVec

The idea here is to move all the logic in RawVec into functions with explicit size and alignment parameters. This should eliminate all the fussing about how tweaking RawVec code produces large swings in compile times.

This uncovered rust-lang/rust-clippy#12979, so I've modified the relevant test in a way that tries to preserve the spirit of the test without tripping the ICE.
  • Loading branch information
bors committed Aug 12, 2024
2 parents f48facf + c37c666 commit 56e1afe
Show file tree
Hide file tree
Showing 3 changed files with 389 additions and 212 deletions.
Loading

0 comments on commit 56e1afe

Please sign in to comment.