Closed kornelski closed 3 years ago
#[inline] annotations help inlining methods across crates, even without LTO.
#[inline]
I've also put #[inline(always)] on functions that only forward their call to another function, since that is a pure win, even from code size perspective.
#[inline(always)]
#[inline]
annotations help inlining methods across crates, even without LTO.I've also put
#[inline(always)]
on functions that only forward their call to another function, since that is a pure win, even from code size perspective.