Add NOINLINE pragma to hPutStr'
authorMatthew Pickering <matthewtpickering@gmail.com>
Mon, 11 Dec 2017 17:54:18 +0000 (12:54 -0500)
committerBen Gamari <ben@smart-cactus.org>
Mon, 11 Dec 2017 17:54:38 +0000 (12:54 -0500)
commit21cdfe5ff5b9506c324164dd59e1b1d603784819
tree5efba4837d5e421b4856c071f8e97007830cc260
parent00d71323e53a4eb8ae63ab32e6e1709d2f118542
Add NOINLINE pragma to hPutStr'

There appears to be no benefit in inlining this function.
If you turn up the unfolding threshold a lot then it eventually
inlines which produces a bit unoptimisable program.

Reviewers: hvr, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4246
libraries/base/GHC/IO/Handle/Text.hs