[Expat-discuss] Performance tuning of character data callbacks....

Sebastian Pipping webmaster at hartwork.org
Sun Aug 3 16:51:35 CEST 2008


Kevin Burton wrote:
> How do I increase the size of the buffer used with character data callbacks?
> 
> Looks like this is XML_CONTENT_BYTES by my 15 minutes of groking the source
> which defaults to 1024.... I might bump this up to 16-32k.

> I think can be reduced by increasing the chunk size of character data which
> would both reduce the number of callbacks and reduce the number of string
> concats needed by my application.

Are you suggesting to change the default value? I'm not sure if this
suits everyone as Expat is used in environments with very little
memory.



Sebastian


More information about the Expat-discuss mailing list