lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev connect_time patch


From: Gisle Vanem
Subject: Re: lynx-dev connect_time patch
Date: Mon, 28 Apr 2003 21:27:22 +0200

"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).

--gv



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

reply via email to

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