[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev more memory optimizations (patch10)
From: |
Thomas Dickey |
Subject: |
Re: lynx-dev more memory optimizations (patch10) |
Date: |
Sun, 3 Nov 2002 13:44:29 -0500 |
User-agent: |
Mutt/1.3.27i |
On Sun, Nov 03, 2002 at 09:13:10PM +0300, Leonid Pauzner wrote:
> Optimize memory usage:
>
> * in SGML.c, element stack now use a pool of just 10 elements
> to avoid most of malloc/free calls.
> * in HTParse(), use single alloca instead of three malloc/free pairs.
a little complicated since alloca() is nonstandard.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden