[Haskell-cafe] Integers v ints

Lennart Augustsson lennart at augustsson.net
Sat Apr 3 11:24:48 EDT 2010

The cost factor of Integer vs Int is far, far smaller than the factor
between computable reals vs Double.

On Thu, Apr 1, 2010 at 6:33 PM, Jens Blanck <jens.blanck at gmail.com> wrote:
> Yes, the cost for computable reals will be an order of magnitude or possibly
> two for well-behaved computations. For not well-behaved problems it will be
> much worse, but it won't return nonsense either. Also consider that the
> difference between Integers and unboxed Ints is also quite big. I'll happily
> to take the hit.

More information about the Haskell-Cafe mailing list