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: 103376,2cc84c0fee9046c0 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Thu, 29 Sep 2005 18:20:46 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <1127615832.540718.246970@g43g2000cwa.googlegroups.com><1lj1ewtykmmp4.j6srtz43enc4.dlg@40tude.net><1127652977.471484.203180@g47g2000cwa.googlegroups.com> <87oe6fzgg5.fsf@mid.deneb.enyo.de> <87oe6eoz40.fsf@mid.deneb.enyo.de> Subject: Re: Various Language Architecture Questions Date: Thu, 29 Sep 2005 18:24:32 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4952.2800 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4952.2800 Message-ID: <44qdnUkSvYtT66HeRVn-pA@megapath.net> NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-IYKzywqgbe400uCVYlf4fT6xgtU87Gen5VjJDm7yu2aMMQ6mhtEY/eKQS8jTqSuxqdu6HZP8DM6Orfy!kV4HRlgGCaxb4dzbaSV2vHKVYa2GT+x5GLKkvWccddjrB6967mqHXYz+i/FRY7Y3d9qSqPntQr+S X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:5288 Date: 2005-09-29T18:24:32-05:00 List-Id: "Florian Weimer" wrote in message news:87oe6eoz40.fsf@mid.deneb.enyo.de... > * Simon Wright: > > >> Unfortunately, this is not true for some commonly used marshaling > >> schemes. Even Ada.Streams can be relatively slow (with long arrays > >> with small components, for example). > > > > I've never understood why this _has_ to be. You would have thought > > implementations could behave 'as if' to a large extent. > > Not unless this is explicitly specified because the number of calls is > observable in most cases. Yes, but Ada 200Y gives this explicit permission (see 13.13.2(56/2)). That's especially important since Ada 95 compilers tended to take the pessistic view, which makes streaming a lot slower than it has to be. Note that that permission is available in Ada 95 as well (AI-195 is a Binding Interpretation; the thinking was that leaving that permission out was an oversight in Ada 95, one of many in the streaming stuff). Randy.