From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: strange cursor in nested containers Date: Tue, 9 May 2023 10:49:58 +0200 Organization: A noiseless patient Spider Message-ID: References: <6aa39f27-62ca-4486-9fc7-1c713da5b098n@googlegroups.com> <9a1c3ba5-d5ae-41d3-9eab-2b8cd941bc66n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 9 May 2023 08:49:58 -0000 (UTC) Injection-Info: dont-email.me; posting-host="9530d295f34e89374f23a9ac8234ce5a"; logging-data="222902"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/20KE9sgTByuBRYzIS1SzLNVVJQb/PXE0=" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Cancel-Lock: sha1:eb13zXalSVB6va/IADk9/4mr5M4= Content-Language: en-US In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:65186 List-Id: On 2023-05-09 10:36, Jeffrey R.Carter wrote: > This cost is due to the decision to allow access to elements using only > a cursor. If both the container and the cursor are needed, then the cost > is significantly reduced. That would be in the index/position team rather than in the cursor/pointer/address one. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de