On 17.06.10 19:12, Roman Beslik wrote:
On 17.06.10 12:40, Roman Cheplyaka wrote:
> From reading core I got the impression that everything is strict&
unboxed. Perhaps this is related to creating some closures? How to get
rid of those allocations?
Yes, "distance" creates a closure of type @Double -> Double# -> Double@ which is obviously not necessary. I do not know why.
"-funfolding-use-threshold=7" removes that closure.

--
Best regards,
  Roman Beslik.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to