[Haskell-cafe] Inlinable (>>>)

Brandon Allbery allbery.b at gmail.com
Sat Mar 4 18:50:19 UTC 2017


On Sat, Mar 4, 2017 at 11:58 AM, Saurabh Nanda <saurabhnanda at gmail.com>
wrote:

> Why can't GHC automatically consider *every* function as INLINABLE? Let
> the GHC heuristics decide what is worthy of being inlined. What's the
> downside?


At a guess, performance of both .hi file handling and analysis for
inlining. Don't people already gripe about how "slow" ghc is?

Also, inlining the wrong thing can completely derail other optimizations
(e.g. fusion).

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170304/c5197d72/attachment.html>


More information about the Haskell-Cafe mailing list