lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev lynx: questions and suggestions


From: Leonid Pauzner
Subject: Re: lynx-dev lynx: questions and suggestions
Date: Tue, 30 Mar 1999 00:05:06 +0400 (MSD)

29-Mar-99 07:57 address@hidden wrote:
>> *Lynx thoroughly registers functions  (via atexit) that will free up 
>> allocated
>>  memory chunks. IMO it's not necessary at least on "normal" systems - 
>> allocated

> that's only used for memory-leak checking, should be ifdef'd as such.

At least #ifdef  atexit(free_all_texts)  which is the main load.
BTW, this will hide some memory problems, not only leaks
as we see from Larry's report.

>>  memory is always reclaimed at the program exit. Not registering functions 
>> that
>>  clear allocated space possibly will yield performance increase since
>>  (as I understand) it let libc routines to clear the memory in the way it
>>  thinks optimal (in the order the chunks are in the memory manager lists).
>>      IMO it's safe to make such optimization for all Unixes and possibly
>>  Windows. Am I right ? Please correct this list of OSes if something wrong.



reply via email to

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