Darius Blaszijk a écrit :
Would be interesting to see a more detailed comparison in speed between delphi and fpc validating the same large prime. Keep us posted.

With big numbers, the speed is the same. With such numbers 99% of the
running time is spent in computations and both versions make use of
the same assembler code.
For instance, the certification of 10^1499 + 2001 (1500 decimal digits)

Version          Lazarus0.9.14/FPC2.0.2         Delphi5

Initialization=          1.52s                      1.50s
1stPhase=          1h 34mn 37s                1h 37mn 12s
2ndPhase=             16mn 1s                    16mn 38s
Total=             1h 50mn 40s                1h 53mn 53s

That's the same.

mm

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to