Call Arity, oneShot or both

Joachim Breitner mail at joachim-breitner.de
Tue Oct 28 14:45:41 UTC 2014


HI,

Am Dienstag, den 28.10.2014, 14:42 +0000 schrieb Simon Peyton Jones:
> | > Serialising the one-shot lambda info sounds like a good plan to me.
> | 
> | Ok, thanks for guidance. Is
> | https://ghc.haskell.org/trac/ghc/wiki/OneShot#PreservationofsetOneShotLam
> | bdaacrossmoduleboundaries
> | a sensible design?
> 
> Generally yes, but I'd define a new data IfaceLamBndr, rather like
> IfaceLetBndr, rather than clutter up IfaceLam itself. 

heh, that’s what I ended up doing :-)

It seems to work quite well, I’m heating my room right now with a few
nofib runs of various combinations.

Also your suggestion to investigate fft2 was good: Turns out iterateFB
would never inline, which defeats the purpose. With that fixed (just
pushed to master) I expect Call Arity to handle the case in fft2 as
well; well’ll see when the benchmarks finish.

Greetings,
Joachim

-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at debian.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141028/dfd56e9a/attachment.sig>


More information about the ghc-devs mailing list