Print

Print


Richard Maine said:
> Did Malcolm say that the data is not actualy read from the disk?

Not as such, but that does not mean that data is necessarily going to
be actually read from the disc.

And in any case, "reading the data into a user variable" involves multiple
copying operations, typically from the disc to a system-address-space
buffer, from there to a user-address-space buffer, sometimes from there
into another user-address-space buffer, and finally into the user variable.

Even if "READ(11)" bypasses only the latter (which I'm sure you'll agree is
virtually guaranteed, since there is no user variable!) it will still
almost certainly have better performance than the READ with a user variable
specified.  This is even if the i/o support library was not written with
the thought of optimising "record skipping" in mind.

Cheers,
--
...........................Malcolm Cohen, NAG Ltd., Oxford, U.K.
                           ([log in to unmask])

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________