comp.lang.ada
 help / color / mirror / Atom feed
From: Darren New <dnew@san.rr.com>
Subject: Re: Ada and pointers
Date: Thu, 16 Aug 2001 16:56:57 GMT
Date: 2001-08-16T16:56:57+00:00	[thread overview]
Message-ID: <3B7BFB59.5BBAF07F@san.rr.com> (raw)
In-Reply-To: 3B7BF59F.BF0EE5BE@worldnet.att.net

> You will notice that using a Tagged_Vector as a resizable array has some
> real costs. For instance, inserting or erasing elements causes massive
> copy operations. There is also the cost of enlarging the array, which
> also requires massive copying.

Cool! Thanks! I actually expect changes in the middle to be rare, and
only on small arrays, so this will probably be good for me. I'll need to
study it more, to learn more Ada. :-)

The other possibility is to encapsulate all the linked-list stuff
nicely, giving nice semantic-oriented interfaces, which is more of a
pain in C than it's worth in my case. 

-- 
Darren New / Senior MTS & Free Radical / Invisible Worlds Inc.
San Diego, CA, USA (PST). Cryptokeys on demand. dnew@san.rr.com
           When was sliced bread invented?



  reply	other threads:[~2001-08-16 16:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13  7:05 How Ada could have prevented the Red Code distributed denial of service attack Gautier Write-only-address
2001-08-15  7:19 ` Ada and pointers Tony Gair
2001-08-15 12:49   ` Hambut
2001-08-15 13:33     ` Marin David Condic
2001-08-15 12:57       ` Jonathan DeSena
2001-08-16  1:46         ` Tony Gair
2001-08-16 13:37           ` Marin David Condic
2001-08-16 15:43             ` Darren New
2001-08-16 16:29               ` James Rogers
2001-08-16 16:56                 ` Darren New [this message]
2001-08-17 14:58                   ` Ted Dennison
2001-08-17 17:14                     ` Darren New
2001-08-15 16:02       ` James Rogers
2001-08-15 17:16         ` Marin David Condic
2001-08-15 19:52           ` James Rogers
2001-08-15 21:00             ` Marin David Condic
2001-08-15 18:54       ` Hambut
2001-08-15 19:53         ` Marin David Condic
2001-08-16  8:25           ` Hambut
2001-08-15 16:25     ` Warren W. Gay VE3WWG
2001-08-15 13:37   ` Ted Dennison
replies disabled

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