www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/24/19:57:19

Date: Wed, 24 Sep 1997 16:56:58 -0700 (PDT)
Message-Id: <199709242356.QAA22566@adit.ap.net>
Mime-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: DJGPP and optimized code
Cc: djgpp AT delorie DOT com

At 12:29  9/24/1997 +0300, Eli Zaretskii wrote:
>
>On Tue, 23 Sep 1997, Nate Eldredge wrote:
>
>> writes to the NUL device will still go through DOS, requiring a mode switch
>> and God-knows-how-much DOS overhead.
>
>AFAIK, the DOS overhead in writing to NUL is nil.  It involves a
>single far call to the entry point of the NUL device driver, which
>then immediately returns to the caller.
Once it gets that far, yes. But it still has to go through its whole
rigamarole in decoding the interrupt call, translating the file handle into
an actual device, and *then* making the far call, not to mention any other
bookkeeping it has to do. That could be significant if done a lot. 

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019