4 ms·
Interesting! I wonder if you have used PGO in the project? Forcing fields to be located next to each other kind of feels like something that PGO could do for yo
by Boereck 2y ago
Interesting! I wonder if you have used PGO in the project? Forcing fields to be located next to each other kind of feels like something that PGO could do for you.
- brianpane 2y agoI basically did manual PGO because I was also reducing the size of several integer fields at the same time to pack more into each cache line. I’m excited to try out the rustc+LLVM PGO for future optimizations.
- ofek 2y agoA long-standing issue with that was just recently fixed: https://github.com/rust-lang/rust/pull/133250 https://github.com/rust-lang/rust/pull/133250