61 points woodruffw 3 days ago 8 comments
Sharlin 1 hour ago | parent
aw1621107 1 hour ago | parent
That being said, one of the Rust devs indicated in the corresponding lobste.rs discussion [2] that they're open to revisiting/rebalancing things if they get enough bug reports indicating something is up, so it might not hurt to tag onto the bug report the author will (hopefully) eventually submit.
[0]: https://github.com/rust-lang/rust/pull/117727
[1]: https://github.com/rust-lang/rust/pull/118031
[2]: https://lobste.rs/s/dldhpw/rust_s_derive_often_implies_inlin...
zamazan4ik 1 hour ago | parent
woodruffw 55 minutes ago | parent
vlovich123 47 minutes ago | parent
That being said, even the justifying performance improvement PR was itself a mix of improvements and regressions
api 34 minutes ago | parent
You can control this behavior with opt level "s" or "z" or "#[inline(never)]", but be aware that too little inlining can have large negative performance impacts.
It's hard to get inlining exactly right without profile guided optimization.