Should we always inline newByteArray#?

Johan Tibell johan.tibell at gmail.com
Thu Mar 13 21:46:59 UTC 2014


On Thu, Mar 13, 2014 at 10:42 PM, Simon Marlow <marlowsd at gmail.com> wrote:
>
> Oh I see, sorry for misunderstanding.  In that case it's a straightforward
> code size / speed tradeoff.  When a similar case came up recently (PAP
> optimisations) I turned it on for -O2 only.  Someday I'd really like to
> have a -Os that would allow us a bit more control over decisions like this.
>

I will do the same and inline with -O2 only.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140313/0408f282/attachment.html>


More information about the ghc-devs mailing list