Closed HadrienG2 closed 1 year ago
And I've seen the other effect, something getting inlined and being slower too… but OK.
Do you want me to make a release with this?
Indeed, excessive inlining can cause problems and the #[inline]
directive should be used with reason. However, when something is meant to compile into a single SIMD instruction, it is definitely worth inlining :)
I do not need a release immediately as this only degrades the performance of multiple codegen units, and I'm currently stuck with a single codegen unit for other reasons... Just preparing for a bright future when I will someday be able to remove that codegen-units = 1
from my Cargo.toml and enjoy fast builds again ;)
OK, poke me when you feel like a release would be nice.
Experience shows that rustc can fail to inline it in some circumstances, which is Very Bad.