Joerg Barfurth wrote:
Take a look at Tools-Options-Load/Save-General. There is an option
'optimize XML for size'. This option defaults to 'optimize' and iirc it
was introduced in an early effort to make the file load process faster.
I know about that option. I always turn it off because I like being able
to read the XML. And it doesn't seem to significantly affect the file
size or application speed for the documents I use (50-pages at most).
Incidentally, the test I ran had this option off (I kept the white space).
I'd assume that the effect of this on compressed size is limited, but
certainly does affect uncompressed size.
This suggests that uncompressed XML size does have a measurable effect.
It'd be interesting to find out why they added that option. Whether it
speeds parsing, or to improve the file size on-disk, or if (as you
suggest) is to reduce the size on memmory.
And that also suggests a more relvant experiment than stopping at byte
counts and speculating whether or not they have a significant effect:
Take the same (big) document saved with and without pretty-printing,
compare their sizes and measuring the load times.
Assuming that removing the white space does not provide speed gains that
are unrelated to the file size.
Cheers,
Daniel.
--
/\/`) http://oooauthors.org
/\/_/ http://opendocumentfellowship.org
/\/_/
\/_/ I am not over-weight, I am under-tall.
/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]