From: dewar@gnat.com (Robert Dewar)
Subject: Re: GNAT/Ada95 Streams Performance Issue
Date: 12 Aug 2002 16:49:34 -0700
Date: 2002-08-12T23:49:34+00:00 [thread overview]
Message-ID: <5ee5b646.0208121549.6840b712@posting.google.com> (raw)
In-Reply-To: aj8j3t$bmn$1@panorama.wcss.wroc.pl
hebisch@math.uni.wroc.pl (Waldek Hebisch) wrote in message news:<aj8j3t$bmn$1@panorama.wcss.wroc.pl>...
> loop
> Ada.Text_IO.Get_Line( Line, Last );
> Ada.Text_IO.Put_Line( Line(1..Last) );
> end loop;
This is nothing *like* a "raw cat" program, it has quite
subtle semantics that you likely do not intend :-)
The proper way to do a big copy is with Stream_IO. The
design of Text_IO is definitely not suitable for large
scale file operations.
next prev parent reply other threads:[~2002-08-12 23:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3D51ECC9.8020406@cogeco.ca>
2002-08-12 15:09 ` GNAT/Ada95 Streams Performance Issue Waldek Hebisch
2002-08-12 23:49 ` Robert Dewar [this message]
2002-08-14 14:53 ` Waldek Hebisch
2002-08-13 1:22 ` Larry Hazel
2002-08-13 8:25 ` Robert Dewar
2002-08-13 13:45 ` Larry Hazel
2002-08-13 21:11 ` Robert Dewar
2002-08-14 8:58 ` Lutz Donnerhacke
2002-08-14 15:46 Mike Brenner
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox