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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Visibility of Indexing aspects Date: Fri, 3 Aug 2018 15:56:57 -0500 Organization: JSA Research & Innovation Message-ID: References: Injection-Date: Fri, 3 Aug 2018 20:56:58 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="2810"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:54029 Date: 2018-08-03T15:56:57-05:00 List-Id: "Dan'l Miller" wrote in message news:dc0f1491-0e8c-43c5-a78f-e32d59df5f03@googlegroups.com... On Thursday, August 2, 2018 at 3:31:18 PM UTC-5, Randy Brukardt wrote: ... >> My point is that a programmer that truly cares about performance (and >> hopefully that will only be concerning in a few critical situations) >> would >> avoid using Reference at all if there isn't a need to update-in-place >> part >> of the element. That is, one would still use the underlying operations, >> but >> individually rather than all automatically as part of a set. >In the above-mentioned case of prohibiting 4 of the 5, the programmer >seeks not performance improvement. Better programmers don't worry about performance all of the time, but *everyone* has to worry about it some of the time. >The programmer seeks proscribing the retention of certain* data and >structure by the outside-of-this-package world-topics which the >outside-of-this-package world has no business retaining or using directly >or abusing, ... This is an utterly false statement; there is plenty of reasons to use the various parts directly; specifically for improved performance. Almost everything used in the indexing operations previously existed in the Ada 2005 version of the container, after all. So, since you're starting with a pair of fallicies, the rest of what you have to say is irrelevant. ("if False then anything" is a true [and useless] statement.) Randy.