Ovanes Markarian wrote:
David,
just wanted to let you know: in my case replacing the space character with tab
character reduced 3
unneded space characters per indent and resulted in a file size of 426 MBs
instead
of 890 MBs. I
did not measure the speed, but you can imagin, that the app had to w
David,
just wanted to let you know: in my case replacing the space character with tab
character reduced 3
unneded space characters per indent and resulted in a file size of 426 MBs
instead
of 890 MBs. I
did not measure the speed, but you can imagin, that the app had to write half as
much characte
>By "performance and size benefits," I'm going to assume you mean in your
>particular case. Your's is the first request that I can remember for
>writing tabs instead of space characters when doing "pretty-printing."
Unfortunately I have to provide pretty printing and be performant :(
>If you'r
Ovanes Markarian wrote:
David,
how big is the chance that FormatterToXML gets a new member variable:
XalanDOMChar m_indentChar;
which is default initialized with XalanUnicode::charSpace and a public member
function:
void setIndentChar(XalanDOMChar ch);
This way the printSpace member functi
David,
how big is the chance that FormatterToXML gets a new member variable:
XalanDOMChar m_indentChar;
which is default initialized with XalanUnicode::charSpace and a public member
function:
void setIndentChar(XalanDOMChar ch);
This way the printSpace member function would call accumContent
Ovanes Markarian wrote:
Hello *,
I use in my app xalan::FormatterToXML to output xml into file. To make the
output file look better
I call
formatter.setDoIndent(true);
formatter.setIndent(4);
My files can be around 900 MBs and having 4 spaces for one indent results in:
I assume in performance