Melchior FRANZ wrote:
> * Erik Hofman -- Saturday 09 May 2009:
>> The downside of this code is that it is not 100% validating (so
>> it might accept xml syntax errors where expat didn't) and it
>> doesn't support DTD's. 
> 
> Hmm ... so it's sloppier *and* slower, but *maybe* increases
> runtime performance? Any benchmarks for the latter?

I don think it's slower (haven't done any benchmarks yet) because memory 
management is time consuming and expat isn't exactly free on cpu usage 
either. (I do have one idea that might blow expat way in the end but 
it's not yet implemented)

> 
> Does it offer the traditional SAX interface that's used at
> several places in fgfs? Looks like it doesn't support
> "encoding" (UTF-8, latin1, ...) which is used in several
> files, or does it?

If the code does call the expat functions directly nothing would change 
(I'm not planning to remove it from SimGear, just to add additional code).

It does support UTF-8, etc as long as it doesn't have to be interpreted.
Do you have an example file that I could test?

(Oh BTW. this code is full threadsafe).

Erik

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to