Lists Home |
Date 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 email@example.com
XML in a Nutshell 3rd Edition Just Published!