[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev connect_time patch

From: Thomas Dickey
Subject: Re: lynx-dev connect_time patch
Date: Mon, 28 Apr 2003 17:23:16 -0400
User-agent: Mutt/1.3.27i

On Mon, Apr 28, 2003 at 09:27:22PM +0200, Gisle Vanem wrote:
> "Leonid Pauzner" <address@hidden> said:
> > 4-Apr-2003 13:56 Gisle Vanem wrote:
> > 
> > > Patch in lyutils.c: undef "select" in case Lynx is compiled with
> > > curses (and not S-Lang). Watt-32's select_s cannot be used on a
> > > stdin handle, so one must undef it and use djgpp's select().
> > 
> > BTW, with this only patch, DJGPP compiled lynx lose nearly 50% performance,
> > tested on huge local file. Native DJGPP select() seems too inefficient.
> That's because Lynx is inefficient in testing stdin for a keypress.
> It calls select() on the full FD_SETSIZE (255) fds. djgpp's select() does
> loop over all fd's even only fd 0 is set in readfds (as it should do).

that's true - I've not gotten around to changing it before, since I'm
puzzled whether it was done to accommodate some (perhaps now-obsolete)
variation of select() that required that.

Thomas E. Dickey <address@hidden>

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]