comp.lang.ada
 help / color / mirror / Atom feed
From: "(see below)" <yaldnif.w@blueyonder.co.uk>
Subject: Re: Performance of element access in Vector
Date: Mon, 19 Jan 2009 16:32:32 +0000
Date: 2009-01-19T16:32:32+00:00	[thread overview]
Message-ID: <C59A5BA0.108A7F%yaldnif.w@blueyonder.co.uk> (raw)
In-Reply-To: c8a97381-667c-4fda-8a1b-b4035f4281b8@o40g2000yqb.googlegroups.com

On 19/01/2009 03:23, in article
c8a97381-667c-4fda-8a1b-b4035f4281b8@o40g2000yqb.googlegroups.com,
"george.priv@gmail.com" <george.priv@gmail.com> wrote:
> 
> Results came as:
> 
> raw array                : 00:00:09.82
> direct index             : 00:00:23.02
> Update_Element and index : 00:01:29.96
> direct cursor            : 00:02:22.65
> Update_Element and cursor: 00:03:36.51
> Iterate                  : 00:02:13.03

On my very modest MacBook Pro, using:
GNATMAKE 4.4.0 20080329 (experimental) [trunk revision 133715]

With command:
gnatmake -funwind-tables  -g -gnatfl05wawCwl -gnatNnp \
-falign-loops=24  -fno-stack-check -funroll-loops -fsched-interblock -O3 A \
-largs -lgcc_eh -bargs -Sev

I get:

raw array                : 00:00:08.44
direct index             : 00:00:11.06
Update_Element and index : 00:00:50.31
direct cursor            : 00:00:20.51
Update_Element and cursor: 00:00:56.03
Iterate                  : 00:01:40.47

So it seems to be question of compiler version and options.

-- 
Bill Findlay
<surname><forename> chez blueyonder.co.uk





  parent reply	other threads:[~2009-01-19 16:32 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-18 21:42 Performance of element access in Vector Maciej Sobczak
2009-01-19  0:03 ` george.priv
2009-01-19  3:23 ` george.priv
2009-01-19 11:25   ` Georg Bauhaus
2009-01-19 16:32   ` (see below) [this message]
2009-01-20  2:17 ` Randy Brukardt
2009-01-20  8:03   ` Maciej Sobczak
2009-01-20  8:26     ` Dmitry A. Kazakov
2009-01-20 22:07       ` george.priv
2009-01-21  8:52         ` Maciej Sobczak
2009-01-21 19:25           ` george.priv
2009-01-22 10:01             ` Georg Bauhaus
2009-01-22 12:43               ` Maciej Sobczak
2009-01-22 13:52               ` george.priv
2009-01-21  8:59         ` Dmitry A. Kazakov
2009-01-21  9:19           ` Maciej Sobczak
2009-01-21 10:19             ` Dmitry A. Kazakov
2009-01-21 13:14               ` Maciej Sobczak
2009-01-21 19:00                 ` Dmitry A. Kazakov
2009-01-21 13:22             ` Georg Bauhaus
2009-01-23 14:56         ` Alex R. Mosteo
2009-01-20 23:01   ` Randy Brukardt
2009-01-21  9:15     ` Maciej Sobczak
2009-01-21 18:08       ` Georg Bauhaus
2009-01-23 14:55         ` Alex R. Mosteo
2009-01-23 17:30           ` Georg Bauhaus
replies disabled

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