[xsd-users] Memory requirements of the C++/Tree in-memory representation

Marco Fischer marco.fischer at chipvision.com
Thu Jan 4 05:19:06 EST 2007


Hi,

does anyone have rough numbers about the relative size of the in-memory
representation of an XML file comparing:

- in-memory representation obtained by reading an XML file through an
xsd generated C++/Tree mapping

vs.

- hand-crafted classes representing the content of the XML file

Suppose I was not so much interested in validation or serialization, but
just in using XML Schema to model application data structures and
benefit from the code generation performed for me by xsd.

How much overhead in memory consumption would I have to expect? Just
roughly, like x1, x2, x10?

Cheers,
Marco




More information about the xsd-users mailing list