Re: Performance tuning of character data callbacks....
"Kevin Burton" <[email protected]> Sun, 3 Aug 2008 09:28:55 -0700
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
No.... I'm saying I'll just recompile on my machine if this yields a performance boost. Also, couldn't it just be a tunable config param? Kevin On Sun, Aug 3, 2008 at 7:51 AM, Sebastian Pipping <[email protected]>wrote: > 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 > -- Founder/CEO Tailrank.com Location: San Francisco, CA AIM/YIM: sfburtonator Skype: burtonator Work: http://spinn3r.com and http://tailrank.com Blog: http://feedblog.org Fax: 1-415-358-4198 PIN: 0092