lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev (more patch) minore cleanup


From: Leonid Pauzner
Subject: Re: lynx-dev (more patch) minore cleanup
Date: Wed, 7 Apr 1999 16:57:58 +0400 (MSD)

7-Apr-99 06:57 Klaus Weide wrote:
> On Wed, 7 Apr 1999, Leonid Pauzner wrote:

>> Also minore (and obvious) fixes for src/LYReadCFG.c and WWW/... /HTFile.c
>> over all my previous patches.
>>
>> --- old/htfile.c        Mon Apr  5 16:05:18 1999
>> +++ ./htfile.c  Tue Apr  6 15:31:44 1999
>> +       PUTS("\n");
>> +                                         PUTS("\n");
>> +                                         PUTS("\n");
>> +                                   PUTS("\n");
>> +                                   PUTS("\n");
>> +                                       PUTS("\n");
>> +                                   PUTS("\n");
>> +                                   PUTS("\n");
>> +                           PUTS("\n");

> Not worth doing, IMO.  This is unnecessary overhead, the only
Nevertheless, I saw several PUTS("\n") in HTFile.c
so I am not the first person there, and overhead really small.
(Instead, I really think it will add more speed since HTML.c/GridText.c
will not calculate a valid end-of-line wrapping position :)

Looking at the HTML source may be interesting in 8-bit file name context,
if we got a problem (it still not clean in some unusual situations).

> benefit I can imagine is for someone looking at the HTML source of
> generated directory listings, to get a somehow nicer display.
> Normally there is no reason to do this except for developers and
> very curious people, and this would slow down generation of directory
> listings (although most likely not significantly) for everyone at all
> times.

>    Klaus





reply via email to

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