HI Alex, > larger "digits". So I rewrote it, so that a single BCD digit is no > longer a byte, but a complete word, holding 9 BCD digits on 32 bits, and > 18 digits on 64 bits. > > This helped a lot! The 634 seconds reduced to 37 seconds, a 17-fold > speed improvement :-)
great! Does it mean that the speed is proportional to the number of digits processed in one go, i.e. about 9 times faster on a 32 system and about 18 times faster on a 64 bit system? I guess there must be other trick as the printing time was negligible using gmp. Cheers, Tomas -- UNSUBSCRIBE: mailto:[email protected]?subject=unsubscribe
