comp.lang.ada
 help / color / mirror / Atom feed
* Re: GNAT/Ada95 Streams Performance Issue
@ 2002-08-14 15:46 Mike Brenner
  0 siblings, 0 replies; 9+ messages in thread
From: Mike Brenner @ 2002-08-14 15:46 UTC (permalink / 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.




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-08-14 15:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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
2002-08-14 15:46 Mike Brenner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox