OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Exploiting multi-core CPUs during XML parsing

[ Lists Home | Date Index | Thread Index ]

What about memory mapped files? If you can treat the file as an array, 
it's just as easy to move backwards through the array as forwards.

For network applications you might have to have three threads: one to 
fill a buffer without parsing, one to parse from the start of the 
buffer, one to parse from the back once the buffer is fully loaded. 
Presumably the fill thread could outrun the other two.

´╗┐Elliotte Rusty Harold  elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS