Internal operation of expat

"Mark" <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Hi All,

I wounder if anyone could clarify something about the internal operation of expat?

When I was trying to speed up the operation of a program that parses  large files I noticed that, in my CharData callback, the address of the data pointer is always one of two values, and does not appear to point into the buffer allocated by XML_GetBuffer().

This suggests to me that the data must be copied internally.

Can someone tell me whether this is correct and, if so, how expat performs so well?

TIA, Mark
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.