[Haskell-beginners] Integer performance of GHC

Sebastián E. Peyrott pseus7 at gmail.com
Sat Aug 7 00:40:25 EDT 2010

I meant fixed precision integers (such as Int). Sorry I wasn't clear about that.

On Sat, Aug 7, 2010 at 1:09 AM, Brandon S Allbery KF8NH
<allbery at ece.cmu.edu> wrote:
> Hash: SHA1
> On 8/6/10 23:32 , Sebastián E. Peyrott wrote:
>> Do you have any insights on this? Is it reasonable to expect Haskell
>> integer performance to reach the levels of C with current
>> implementations? Which are the limiting factors?
> Integer, or Int?  In theory Integer should use Int when possible under the
> covers, but that may not always do what you expect --- and Integer, being
> arbitrary precision, will never be as fast as native Int math.
> - --
> brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
> system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
> electrical and computer engineering, carnegie mellon university      KF8NH
> Version: GnuPG v2.0.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> PUwAmQEqtanpLJHa7amkz7GP9qH5rkBg
> =SoCp
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

More information about the Beginners mailing list