comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Performance of element access in Vector
Date: Wed, 21 Jan 2009 09:59:16 +0100
Date: 2009-01-21T09:59:16+01:00	[thread overview]
Message-ID: <vmxuvzavtyb8$.1pikikaecrsdc$.dlg@40tude.net> (raw)
In-Reply-To: d21122ad-db41-4cfb-a66c-142157de2e07@p36g2000prp.googlegroups.com

On Tue, 20 Jan 2009 14:07:07 -0800 (PST), george.priv@gmail.com wrote:

> On Jan 20, 3:26�am, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
> wrote:
>> On Tue, 20 Jan 2009 00:03:03 -0800 (PST), Maciej Sobczak wrote:
>>> The difference is, however, that it is possible to use vectors in C++
>>> without going into undefined behavior, whereas it seems to be
>>> impossible to use Vectors in Ada without being slow.
>>
>> There might be something wrong with the concept they share...
>>
> Unlike C++ for simple objects I don't see advantage of using vectors
> vs. arrays in Ada.

Yes

> Only that it provide uniform ways to traverse
> through all containers?

Arrays do it already. Ordered containers must have array interface.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  parent reply	other threads:[~2009-01-21  8:59 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)
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 [this message]
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