High performance XML parser

Tomek Sowiński just at ask.me
Wed Feb 9 10:57:38 PST 2011


Steven Schveighoffer napisał:

> OK, so you mean a buffer other than the I/O buffer.  This means double  
> buffering data.  I was thinking of a solution that allows simply using the  
> I/O buffer for parsing.  I think this is one of the keys to Tango's xml  
> performance.

I'd be glad to hear what's your idea. I think they are convergent. In mine, the I/O could be asked to dump data to the iterator's buffer at a given position (right to previous nodes), then the iterator forms a node out of raw data. Some moving would be done but all within the cached buffer so should be quick. I guess it's as far as I can predict performance in a newsgroup post. ;-) Gotta write some code and whip out the stopwatch, then we'll see.

-- 
Tomek



More information about the Digitalmars-d mailing list