[PATCH] reduce kjs hash table bloat

Harri Porten porten at froglogic.com
Sun Dec 28 15:32:36 GMT 2003


On Sun, 28 Dec 2003, Dirk Mueller wrote:

> not sure when we last time broke binary compatibility of the hashtables,

I once worked with versioned structures (HashTable2 etc.) to overcome this
problem. Not sure if this is still doable with the enhanced usage of the
tables.

> but I just had a look and I think they can be much improved.
>
> The patch below reduces nonsharable data memory footprint of kjs+khtml by
> 40kb, disk space footprint by ~ 90kb and removes about 1350 of the expensive
> non-lazy symbol relocations in total. Ah, it also gets rid of a few dozen
> unnecessary symbols.
>
> Please review.

Fine with me. Regarding compatibility (and possible versioning) you might
want to talk to Rich.

Harri.






More information about the kfm-devel mailing list