[gambit-list] Using the overflow tests from Hacker's Delight

Bradley Lucier lucier at math.purdue.edu
Sun May 8 15:43:58 EDT 2005


Here are the diffs for _num.scm after I used the overflow tests from 
Hacker's Delight.  There should be fewer jumps in ##+ and ##-, and 
fewer unnecessary calls to ##bignum.*.  For example, with the old code 
we have

     617203464 bytes allocated


     768376664 bytes allocated

when using binary splitting applied to some series to compute e and pi 
to 10,000 digits, but with the new code we have

     612389032 bytes allocated


     764550248 bytes allocated

Not a big difference, but it may help more for other codes.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffs
Type: application/octet-stream
Size: 3683 bytes
Desc: not available
Url : http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20050508/6f02d0f8/diffs.obj

More information about the Gambit-list mailing list