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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,df17212a7a9dc5fd,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-10 06:21:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!b8af6.pppool.DE!not-for-mail From: Dmitry A.Kazakov Newsgroups: comp.lang.ada Subject: Streams in GNAT 3.14p Date: Tue, 11 Jun 2002 03:24:51 +0200 Message-ID: Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: b8af6.pppool.de (213.7.138.246) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: fu-berlin.de 1023715307 3507280 213.7.138.246 (16 [77047]) User-Agent: KNode/0.4 Xref: archiver1.google.com comp.lang.ada:25670 Date: 2002-06-11T03:24:51+02:00 List-Id: Hi! Recently I found that GNAT 3.14p implementation of streams looks a bit strange. When a tagged object is written (S'Class'Output), then Write(Stream, Item) is called for each character of the external representation of tag _separately_. For types declared in deeply nested child packages it is about 100 separate calls. This makes Ada.Streams near to unusable. -- Regards, Dmitry Kazakov www.dmitry-kazakov.de