gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Generating HTML (was Gump Threashing/Spinning)
Date Thu, 25 Mar 2004 22:28:13 GMT
Leo Simons wrote:

>> Now Gump generates it's xdocs using an object tree structure. Watching 
>> the
>> python memory grow from 20M (after loading all XML) to 136M (during
>> generating these pages) it has some sort of leak (actual or effective)
> 
> 
> ouch! Maybe it would pay off to use pipelining (you know, SAX, stuff) 
> instead of DOM to generate the object tree.

you are generating a dom on the flight!

ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

please, no matter what you do with forrest, please use a template engine 
instead of a DOM. there is no need for a dom for gump.

-- 
Stefano, thinking seriously that it's time to take a look at the 
internals of gumpy


Mime
View raw message