[Info-vax] READ and WRITE vs. SEARCH/OUTPUT

Paul Sture paul at sture.ch
Tue Jan 24 03:33:37 EST 2012


On Tue, 24 Jan 2012 01:21:44 +0000, VAXman- wrote:

> In article <4f1e047c$0$281$14726298 at news.sunsite.dk>,
> =?UTF-8?B?QXJuZSBWYWpow7hq?= <arne at vajhoej.dk> writes:
>>On 1/23/2012 6:58 AM, Paul Sture wrote:
>>> On Sat, 21 Jan 2012 16:29:00 +0000, Phillip Helbig---undress to reply
>>> wrote:
>>>> Some tests indicate that SEARCH is much faster.  Can one depend on
>>>> this always being the case?
>>>
>>> 1. If you try the comparison on a VAX, you are probably looking at
>>> SEARCH being many times faster than DCL.
>>>
>>> 2. Empirical testing I did back in VAX days suggested that given
>>> sufficient memory SEARCH uses larger buffers than, say, a COBOL
>>> executable.
>>
>>Wouldn't that depend on how the COBOL program was written?
> 
> Well, I just perused the nearly 4000 lines of BLISS that is SEARCH.  I
> doubt there's enough disk space in the known universe to translate all
> that logic into COBOL source! :)

That's why I used the phrase "empirical testing". I didn't have access to 
the sources when I was first trying out quick ways of getting up a large 
files, and I don't think I knew the trick of searching for a null string:

$ search bigfile.dat "" /stat /wind=0

I'm not sure whether those qualifiers existing in V3 days either.



-- 
Paul Sture



More information about the Info-vax mailing list