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-Thread: a07f3367d7,d4226ffde2290b0c X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Performance of the Streams 'Read and 'Write Date: Mon, 2 Nov 2009 15:32:51 -0600 Organization: Jacob Sparre Andersen Message-ID: References: <0554a812-076a-4d89-8ec4-fcbc27e25804@v30g2000yqm.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1257197573 19306 69.95.181.76 (2 Nov 2009 21:32:53 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 2 Nov 2009 21:32:53 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Xref: g2news2.google.com comp.lang.ada:8944 Date: 2009-11-02T15:32:51-06:00 List-Id: "Jeffrey R. Carter" wrote in message news:hcfdpo$p62$1@news.tornevall.net... > Gautier write-only wrote: >> On 30 Okt., 01:39, "Jeffrey R. Carter" >> wrote: >> >>> And if you overlay the Stream_Element_Array onto the Buffer, thus >>> eliminating >>> the copying and the stream attribute operations? >> >> With an Unchecked_conversion ? > > No, that still does a copy. It doesn't have to, there is a permission to avoid copying in 13.9(12). So it depends on what the compiler is able to do optimization-wise. Randy.