From: dewar@gnat.com (Robert Dewar)
Subject: Re: GNAT/Ada95 Streams Performance Issue
Date: 13 Aug 2002 01:25:56 -0700
Date: 2002-08-13T08:25:57+00:00 [thread overview]
Message-ID: <5ee5b646.0208130025.41805ea8@posting.google.com> (raw)
In-Reply-To: 3D585F63.6010205@otelco.net
Larry Hazel <lhhazel@otelco.net> wrote in message news:<3D585F63.6010205@otelco.net>...
> Somewhere around 1990, I wrote a simple file copy program
> using Sequential_IO on
> files of bytes.
Note that there is no portable way of doing this in either
Ada 83 or Ada 95. In practice, instantiating SIO for type
Character would probably work.
> This was using the Verdix Ada 83 compiler on a Sun. I
> did this as a test because C people kept telling me how
> slow Ada was. I wanted to see for myself.
> It was consistently faster than the unix cp command.
Hard to believe, and if true, simply a comment on a truly
appalling implementation of cp.
> I suspect there was a
> lot of buffering going on behind the scenes.
That's not enough to account for this surprising result!
next prev parent reply other threads:[~2002-08-13 8:25 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
2002-08-14 14:53 ` Waldek Hebisch
2002-08-13 1:22 ` Larry Hazel
2002-08-13 8:25 ` Robert Dewar [this message]
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