.

XMLC DOM Performance

Problem

Lazy DOM

A lazy DOM representation is used to avoid creating DOM nodes that are not changed by the program. This approach maintains the behavior of the DOM API and requires no programmer specification of dynamic vs static areas. It also efficiently handles portions of the DOM that are only ocassionally modified. Access to preformatted tags and text is also provided for unmodified protions of the lazy DOM.

An overview of the implementation is outlined here: