comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier.demontmollin@maths.unine.ch>
Subject: Re: Multiprecisions numbers
Date: 2000/04/01
Date: 2000-04-01T00:00:00+00:00	[thread overview]
Message-ID: <38E5BFDD.AB9ED487@maths.unine.ch> (raw)
In-Reply-To: 8c36au$cm5$1@wanadoo.fr

Pascal Obry:

> Do you have some benchmarks about the relative speed of these
> implementations ?

This would be very interesting (not time and equipment myself now)
E.g. GMP and other known packages, being in C, must allocate, reallocate,
deallocate memory for multi-integer. It consume time and the memory
gets fragmented very fast, requiring garbage collection that can take
longer than the computing itself. Reversely, pure Ada methods where functions
can return a whole unconstrained array, can work only on stack with
local variables. Anyway, using the "procedure with out parameter" variants
give very quick results on OpenVMS (Compaq Ada V3.5-2) and PC (GNAT/DOS).
No comparisons though from my side.

_____________________________________________
Gautier  --  http://members.xoom.com/gdemont/




  reply	other threads:[~2000-04-01  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-31  0:00 Re : Multiprecisions numbers DELCOURT J�r�me
2000-03-31  0:00 ` Pascal Obry
2000-04-01  0:00   ` Gautier [this message]
2000-04-01  0:00     ` DELCOURT J�r�me
2000-04-02  0:00     ` Gisle S�lensminde
2000-04-04  0:00       ` DELCOURT J�r�me
2000-04-01  0:00   ` DELCOURT J�r�me
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox