[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
- From: bob mcwhirter <bob@werken.com>
- To: Haresh Gujarathi <gharesh@vsnl.com>
- Date: Fri, 28 Sep 2001 11:53:12 -0400 (EDT)
> 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