URI: 
       reduce memory usage a bit - webdump - HTML to plain-text converter for webpages
  HTML git clone git://git.codemadness.org/webdump
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit fe6d27fcb8b5f7b1b3d3c3343d8d22349d4260b3
   DIR parent bbcaabf68c47ad528f8e2317d4250a11bc0503e7
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Tue, 14 Jul 2026 16:20:30 +0200
       
       reduce memory usage a bit
       
       Reduce memory usage a bit, while still being conservative in supporting insane
       HTML on webpages.
       
       (Reduces 43kb to 27kb on a test page).
       
       Diffstat:
         M webdump.c                           |      12 ++++++------
       
       1 file changed, 6 insertions(+), 6 deletions(-)
       ---
   DIR diff --git a/webdump.c b/webdump.c
       @@ -123,23 +123,23 @@ struct tag {
        };
        
        struct node {
       -        char tagname[256];
       +        char tagname[128];
                struct tag tag;
                size_t nchildren; /* child node count */
                size_t visnchildren; /* child node count which are visible */
                /* attributes */
       -        char id[256];
       -        char classnames[1024];
       +        char id[128];
       +        char classnames[256];
                int indent; /* indent per node, for formatting */
                int hasdata; /* tag contains some data, for formatting */
        };
        
        struct selectornode {
       -        char tagname[256];
       +        char tagname[128];
                long index; /* index of node to match on: -1 if not matching on index */
                /* attributes */
       -        char id[256];
       -        char classnames[1024];
       +        char id[128];
       +        char classnames[256];
        };
        
        struct selector {