Date: Wed, 24 Sep 1997 16:56:58 -0700 (PDT) Message-Id: <199709242356.QAA22566@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Eli Zaretskii From: Nate Eldredge Subject: Re: DJGPP and optimized code Cc: djgpp AT delorie DOT com Precedence: bulk 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