[
Lists Home |
Date Index |
Thread Index
]
> In general, document models take about 4-8X the
> document size in bytes (with the low end for documents that
> are mostly text):
Read-only tree models, like Saxon's TinyTree, can of course be a lot smaller
because they don't need so many linked lists.
The biggest single influence on the expansion ratio you get with Saxon is
the length of your element and attribute names: the longer they are, the
better the ratio. Saxon's tree uses about 20 bytes for an element node with
no attributes, so the expansion factor for the element node <code></code> is
actually less than the typical expansion factor for text nodes.
Michael Kay
|