[Haskell-cafe] Freeze/thaw fusion

William Yager will.yager at gmail.com
Tue Aug 4 04:01:20 UTC 2015


On Mon, Aug 3, 2015 at 7:18 AM, Ian Duncan <ian at iankduncan.com> wrote:

> I’d be interested in knowing about the preliminary work you’re doing here.
>

The approach I've tested so far is boiled down into this (rather contrived)
example: https://gist.github.com/wyager/df1809badc7c6a75cd5f

Without optimization, each add1 adds about 0.37 seconds. With optimization,
each add1 adds about 0.16 seconds. That's over twice as fast! Of course,
this is very much a "lab environment".

I suspect you might be able to make the rewrite rules better with a few
tricks, but I haven't gotten around to testing them yet.

--Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150803/5c37e17b/attachment.html>


More information about the Haskell-Cafe mailing list