[Expat-discuss] C compilation flag

Jimmy Zhang jzhang at ximpleware.com
Tue Mar 7 19:11:01 CET 2006


Can you make the comparison open a bit...
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...

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)

Cheers,
Jimmy


More information about the Expat-discuss mailing list