OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

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

Re: [xml-dev] What is more expensive persisting DOM in Memory orcreating DOM



> What is more expensive in terms of performance for a Web application?

They both cost me about a $1.50.  

> maintaining DOM in memory for use in subsequent requests or 
> recreating the DOM every time a request comes in

Expensive can only be measured in terms of the value of each resource
in your particular context.  If you're a RAM manufacturer, then maybe
persistent storage is cheap.  

What are you optimizing for:  Speed or Resource Consumption?

You have to answer that before anyone can answer your question.

	-bob