[Haskell-cafe] Performance question

Don Stewart dons at galois.com
Thu Feb 26 11:23:27 EST 2009


Ben.Lippmeier:
>
> On 26/02/2009, at 9:27 PM, haskell at kudling.de wrote:
>>
>> Currently i can only imagine to define a data type in order to use  
>> unboxed Ints instead of the accumulator tuple.
>
> That would probably help a lot. It would also help to use two separate  
> Double# parameters instead of the tuple.

    data T = T !Double !Double

should be enough.


More information about the Haskell-Cafe mailing list