lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev dev15+ patch


From: Leonid Pauzner
Subject: lynx-dev dev15+ patch
Date: Wed, 7 May 2003 23:58:50 +0400 (MSD)

> Index: fixme
> --- /dev/null   Sun Jul 17 19:46:18 1994
> +++ lynx2.8.5dev.15c/fixme      Thu May  1 21:14:11 2003
> @@ -0,0 +1,19 @@
> +clean/clobber targets in build.com
> +LP followup patches.
> +fix for wide-getch
> +TH's nested-table bug
> +DK's lss bug

I cannot remember my patches after dev15, except one for HTBEquivalent()...
Nevertheless, here it is:


sizeof(HTParentAnchor0) = 36
sizeof(HTParentAnchor) = 168
sizeof(HTChildAnchor) = 32
sizeof(HTAnchor) = 4


* Use less memory for documents with many anchors:
  most anchors are never visited, just stored for the reference.
  So fill in adult_table[] with HTParentAnchor0 (36 bytes size)
  instead of full HTParentAnchor (~200 bytes).
  HTParentAnchor now allocated on demand, nearly 1:1 to HText.
  [more comment in HTAnchor.h, changes located in HTAnchor.c]
* HTParentAnchor0' store its hash value, to avoid calling HASH_FUNCTION
  twice on the same anchor (Re: HTAnchor_delete()).


 src/gridtext.c                  |    6 -
 src/lymainlo.c                  |    4
 www/library/implemen/htaccess.c |   12 +-
 www/library/implemen/htaccess.h |   42 -------
 www/library/implemen/htanchor.c |  240 ++++++++++++++++++++++++++--------------
 www/library/implemen/htanchor.h |   51 +++++---
 6 files changed, 201 insertions, 154 deletions


Attachment: parent0.pat
Description: Binary data


reply via email to

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