HP3000-L Archives

September 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Shahan, Ray" <[log in to unmask]>
Reply To:
Shahan, Ray
Date:
Fri, 21 Sep 2001 08:52:06 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
I didn't even think that output to $NULL did a file open, I always assumed
that the system understood $NULL to be just
that...$NULL...NADDA...ZILCH....NOTHING, and to not open/write/read any
file.

> -----Original Message-----
> From: Stan Sieler [SMTP:[log in to unmask]]
> Sent: Thursday, September 20, 2001 8:11 PM
> To:   [log in to unmask]
> Subject:      Re: Linkedit (was: Determine compilation / link in exe
> cutable              pas cal program)
>
> Re:
> > > > Method 1:  purge file >$null
> > > > Method 2:  setvar save_msgfence hpmsgfence
> ...
> > > > So, surprisingly, IO redirection, even to $NULL, is slower than
> > > > three setvars.
> >
> > OK, maybe I'm stupid: why is this a surprise? I would expect "don't
> generate output" to be faster than "generate, then throw away, output".
>
> Probably because method 2 doesn't do a file open / file close.
>
> Stan Sieler                                           [log in to unmask]
> www.allegro.com/sieler/wanted/index.html          www.allegro.com/sieler
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2