comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: ada is getting spanked :(
Date: Thu, 02 Nov 2006 18:21:19 GMT
Date: 2006-11-02T18:21:19+00:00	[thread overview]
Message-ID: <zGq2h.130890$aJ.85400@attbi_s21> (raw)
In-Reply-To: <4546f186$1@news.post.ch>

Martin Krischik wrote:
> 
> I too have looked into implementing the test. I found out that there are 
> several Big_Integer implementations - some a binding - some native.
> 
> Really one would need to implement the test with all of them to find out 
> which is the most effective Big_Integer implementation.

I have implemented the Pi-digits program using Jerome Delcourt's 
Big_Number package

http://www.chez.com/bignumber/info.htm

2500 digits takes about 7 s on my 3.2 GHz Pentium 4 HT/WinXP machine, so 
that would be about 9 s on the comparison machine, putting Ada in the 
vicinity of Python.

I looked at Gautier de Montmollin's package, but there doesn't seem to 
be a way to convert a big-num to an Integer.

Based on the Free Pascal entry, binding to gmp would be much faster.

-- 
Jeff Carter
"I soiled my armor, I was so scared."
Monty Python & the Holy Grail
71



  reply	other threads:[~2006-11-02 18:21 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-28 16:29 ada is getting spanked :( cl1
2006-10-28 17:45 ` Martin Krischik
2006-10-28 20:02   ` Georg Bauhaus
2006-10-29  1:34   ` Georg Bauhaus
2006-10-29  2:13     ` Jeffrey R. Carter
2006-10-29  4:48       ` Isaac Gouy
2006-10-30  1:01         ` Isaac Gouy
2006-10-29  2:26     ` Jeffrey R. Carter
2006-10-29  2:30       ` Jeffrey R. Carter
2006-10-29  2:33         ` Jeffrey R. Carter
2006-10-29 17:19           ` Jeffrey R. Carter
2006-10-29 17:25           ` Jeffrey R. Carter
2006-10-29  8:54     ` Martin Krischik
2006-10-29 13:01       ` Georg Bauhaus
2006-10-30  0:46         ` Isaac Gouy
2006-10-29 16:27     ` Björn Persson
2006-10-29 20:23       ` Georg Bauhaus
2006-10-29 23:50         ` Björn Persson
2006-10-31 11:32           ` Dmitry A. Kazakov
2006-10-31 13:12             ` Georg Bauhaus
2006-10-31 14:14               ` Dmitry A. Kazakov
2006-10-31 18:01       ` Martin Krischik
2006-10-29  4:58   ` Isaac Gouy
2006-10-29  8:46     ` Martin Krischik
2006-10-30  0:17       ` Isaac Gouy
2006-10-30 18:26   ` jtg
2006-10-30 21:50     ` george
2006-10-31  4:57     ` Jeffrey R. Carter
2006-10-31  6:28     ` Gautier
2006-10-31  6:47     ` Martin Krischik
2006-11-02 18:21       ` Jeffrey R. Carter [this message]
2006-11-02 19:37         ` Gautier
2006-11-03  5:11           ` Jeffrey R. Carter
2006-11-03 12:06         ` Martin Krischik
2006-11-03 19:59           ` Jeffrey R. Carter
2006-11-12 22:26   ` Shootout / pidigits [Re: ada is getting spanked :(] Gautier
2006-10-28 22:45 ` ada is getting spanked :( Larry Kilgallen
2006-10-29 16:22 ` Leif Holmgren
2006-10-29 17:28   ` Simon Wright
2006-10-29 19:21   ` jtg
2006-10-29 21:33     ` Leif Holmgren
2006-10-31 11:04       ` Harald Korneliussen
2006-11-01 11:28         ` jtg
2006-11-01 14:31           ` Harald Korneliussen
replies disabled

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