I agree that bignums do not automatically equal slower (fixnum)
performance. For example, see here:

http://people.csail.mit.edu/jaffer/CNS/interpreter-branch

Also, the Glasgow Haskell Compiler wiki has some notes on replacing GMP:

http://hackage.haskell.org/trac/ghc/wiki/ReplacingGMPNotes

  -Ivan

John Cowan <[email protected]> writes:

> Nicholas Indy Ray scripsit:
>
>> Bignums are nice and all, but I hardly see it as a practical
>> necessity. Plus if I had to choose between fix/flonums or bignums
>> and slower number performance, I'd choose the prior, that is why I
>> use chicken!
>
> Bignums don't hurt performance much unless you use them.  Ratios can
> hurt performance, but I'm not proposing them: / should still return a
> flonum if the mathematical result is not an integer.



_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to