From: Mike Brenner <mikeb@mitre.org>
Subject: Re: GNAT/Ada95 Streams Performance Issue
Date: Wed, 14 Aug 2002 11:46:31 -0400
Date: 2002-08-14T11:46:31-04:00 [thread overview]
Message-ID: <mailman.1029340021.24110.comp.lang.ada@ada.eu.org> (raw)
Hi,
An Ada program that copies a text file from standard input to standard output using streams would be a very useful example to post.
I don't know how to do it because I don't know how to connect a TEXT_stream to standard input using the standard Ada stream packages.
Mike
Robert Dewar wrote:
> That certainly makes more sense. The trouble is of course
> that with Direct_IO you can't deal nicely with the last
> partial block (you are also depending very much on impl
> dependent choices in how Direct_IO works).
>
> Stream_IO should have the speed advantage without these
> disadvantages.
Larry Hazel <lhhazel@otelco.net> wrote in message news:<3D590D80.201@otelco.net>...
>> ... something with direct io and large arrays of bytes
>> for the program that was faster than cp.
next reply other threads:[~2002-08-14 15:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-14 15:46 Mike Brenner [this message]
[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
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox