Re: C compilation flag
Karl Waclawek <[email protected]>
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
Jimmy Zhang wrote: > Can you make the comparison open a bit... > What do you mean with open? The Expat benchmark application is part of the Expat distribution, open for anyone to inspect. > we have benchmarked expat extensively, VTD-XML in general > leads by a big margin... > for cases where there are a large number of text, such as RSS file, > Expat occasionally outperforms VTD-XML, which is quite a feat... > Then show me the Expat benchmarks you have done. > VTD-XML's fundamental improvements came from its memory > allocation strategy: > > 1. use large memory blocks... (64k for many VTD records all at once) > 2. reuse memory blocks ... ( because VTD records are constant in length) > Expat reuses memory a lot. You would be surprised to see how seldom Expat actually allocates memory. Regards, Karl