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,d89e2d213646aec8 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!news-peer1!btnet-feed3!newreader.ukcore.bt.net!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Mneson announcement and help request Date: Thu, 3 Jun 2004 05:58:12 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host81-152-56-112.range81-152.btcentralplus.com X-Trace: sparta.btinternet.com 1086242292 15878 81.152.56.112 (3 Jun 2004 05:58:12 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Thu, 3 Jun 2004 05:58:12 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: g2news1.google.com comp.lang.ada:1054 Date: 2004-06-03T05:58:12+00:00 List-Id: "Randy Brukardt" wrote in message news:xK-dnZHKcKOszSPdRVn-ug@megapath.net... > Well, yes, because End_of_File for Text_IO is very expensive (it has to do > lookahead of as many as two characters, and doing so makes later Gets > expensive as well). But "End_of_File" (or indeed any function call) misses > the point. My point was that EOF is relatively cheap compared to raising the exception not that it is cheap per se. And if GNAT and ObjectAda (the 2 compilers I have any source for) are typical of most implementations then this is certainly true. OA even includes lots of local instantiations of the sort that MAA was finding very slow (assuming OA is also "slow" in this regard). Cheers -- Martin