[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: |
Wed, 30 Apr 2003 13:09:10 -0400 (EDT) |
>
> On Mon, 28 Apr 2003, Thomas Dickey wrote:
>
> > 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.
>
> The same on Cygwin ? I at least noticed some things run very
> slow.
perhaps (it's simple enough to change & prove whether it is a factor).
--
Thomas E. Dickey <address@hidden> <address@hidden>
http://dickey.his.com
ftp://dickey.his.com
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden