Simple hashmap on Elem -> Elem, makes no optimisations across qnames (use QNameOptimisationT for that)
An elem with attributes or namespaces and only one text value.
Memory usage in DOMs is often dominated by repeated elements.
An elem with no attributes, namespaces and only one text value.
Simple marker for per parse optimisation oppurtunties
Certain paths may be repeated (based on QNames of parents etc) and known to be by the developer, its also possible that the developer simply is not interested in this path.
Threadsafe global cache, assumption is most applications would benefit from this
As this adds extra processing time, but better fits XPath rules (i.
Allows replacing a tree for memory optimisations
Optimises on QNames and Elems, reducing duplicates at the cost of CHM lookups.
Collection of optimisations that reduce memory significantly at the cost of parsing performance, and later non-lazy creation of correct objects for accessing the tree.
Performs no optimisation at all
Optimised QNames, Elems and Tree, heavily reduced memory consumption with LazyOptimisedTree.
The default as it will equal or better Scala Xml memory consumption at a performance gain.
Optimises QNames and Trees according to LazyOptimisedTree