From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-16 09:57:46 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!news-east.rr.com!news-west.rr.com!lsnws01.we.mediaone.net!cyclone-LA3.rr.com!typhoon.san.rr.com.POSTED!not-for-mail Message-ID: <3B7BFB59.5BBAF07F@san.rr.com> From: Darren New Organization: Boxes! X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada and pointers References: <9ldto7$9pg$1@nh.pace.co.uk> <9lei8f$gmu$1@houston.jhuapl.edu> <9lgibn$ak1$1@nh.pace.co.uk> <3B7BEA38.7FD8E9F0@san.rr.com> <3B7BF59F.BF0EE5BE@worldnet.att.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 16 Aug 2001 16:56:57 GMT NNTP-Posting-Host: 24.165.20.141 X-Complaints-To: abuse@rr.com X-Trace: typhoon.san.rr.com 997981017 24.165.20.141 (Thu, 16 Aug 2001 09:56:57 PDT) NNTP-Posting-Date: Thu, 16 Aug 2001 09:56:57 PDT Xref: archiver1.google.com comp.lang.ada:11997 Date: 2001-08-16T16:56:57+00:00 List-Id: > 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?