roots
Jason Moxham
J.L.Moxham@maths.soton.ac.uk
Wed, 23 Oct 2002 17:08:08 +0100
--------------Boundary-00=_KHZFUCTL6YN2GM82RITI
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
some preliminary timings
speedups on linux athlon against GMP4.1 mpz_root
without rem
=09roots
bits=09cbrt=095th=0922nd
100=090.082=090.075=090.039
200=090.132=090.106=090.085
500=090.237=090.219=090.162
1000=090.446=090.416=090.387
2000=090.952=090.931=090.857
5000=092.943=093.322=093.345
10000=095.566=097.046=099.260
20000=098.319=0912.13=0925.05
50000=0911.54=0918.58=0958.40
100000=0913.13=0920.83=0982.69
200000=0914.53=0923.56=0999.92
500000=0914.83=0924.66=09big
1e6=0915.86=0926.16=09big
2e6=0917.87=0923.49=09big
5e6=0918.19=0927.79=09big
1e7=0922.25=0928.51=09big
with rem
bits=09cbrt=095th=0922nd
100=090.085=090.074=090.039
200=090.123=090.107=090.087
500=090.234=090.218=090.164
1000=090.441=090.403=090.378
2000=090.911=090.877=090.816
5000=092.514=092.717=092.768
10000=094.276=094.901=096.104
20000=095.900=097.171=0911.27
50000=097.754=099.602=0917.04
100000=098.749=0910.51=0919.91
200000=099.572=0911.57=0921.87
500000=099.827=0912.20=0922.91
1e6=0910.77=0912.58=0925.74
2e6=0912.01=0912.55=09big
5e6=0913.61=0914.49=09big
1e7=0915.29=0915.52=09big
form the data above you can see that calulating the remander slows things=
down=20
by a large factor
jason
--------------Boundary-00=_KHZFUCTL6YN2GM82RITI
Content-Type: application/x-tbz;
name="root.tar.bz2"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="root.tar.bz2"
QlpoOTFBWSZTWYgNDL4ADy9/jfywAIB7f///k6vbz/////oBAIAhEAAACGAW/vnO+9A7w9okZUih
Pedp5QvM2Nnru+95r3Njb3ILq5fH3OvQ9NNOBNAYg1VHVOSVmdOaEiRNACGiYFU/T1NNFPao0fpR
gg9IZGgB+pNDR6j0gaaBAmpopsRT1NPTU9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