You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every defined function is defined as {-# INLINABLE #-}.
Making a function inlinable isn't a magic word that makes it faster.
In fact, inlining can hurt performance in some cases. Especially when applied to every function.
More care should be taken to only inline functions when there's a benefit. If it was so magical, wouldn't the ghc developers inline every function by default? 🙄
The text was updated successfully, but these errors were encountered:
Every defined function is defined as
{-# INLINABLE #-}
.Making a function inlinable isn't a magic word that makes it faster.
In fact, inlining can hurt performance in some cases. Especially when applied to every function.
More care should be taken to only inline functions when there's a benefit. If it was so magical, wouldn't the
ghc
developers inline every function by default? 🙄The text was updated successfully, but these errors were encountered: