#`inline` question

4 messages · Page 1 of 1 (latest)

pale pier
#

When should I use #[inline(always)]?

#

inline question

low tusk
#

I'd say: only when you've written a benchmark that shows that it helps

tight flint
#

Probably pretty much never. the compiler is probably smarter than you about what to inline anyway