This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: effectiveness of gnu.math


Yaroslav Kavenchuk wrote:
result of (speed-check 70000):

10000 - <integer> time 0.500 sec., <BigInteger> time 0.860 sec.,
<integer> faster by 41.9%
...
70000 - <integer> time 36.813 sec., <BigInteger> time 65.219 sec.,
<integer> faster by 43.6%

Is this the trend?

Looks like it - for this particular program, which primarily tests bignum*smallnum multiplication. We can't generalize from that to (for example) division, which is difficult, and can be done in a number of different ways.

gnu.math should be faster for logical (bitwise) operations,
because uses a 2's complement representation.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]