Hi,
Thank you for this library. The performance is outstanding.
But I need to inspect a XML document in a multi-threaded environment - basically, having multiple threads processing the information in different ways.
VTDNav isn't thread-safe, but your library doesn't have a simple way of creating multiple VTDNav from the same parsed VTDGen object.
It would be great if:
-VTDGen could be called multiple times to create several VTDNav instances.
-Or you could just implement the VTDNav.clone() method. That would do the trick.
Without it, I will need to implement some kind of work-around to create several VTDNav instances of the same XML document.
Regards,
Joao Fonseca
Hi, very interesting proposal... do you run multiple processors/cores to improve performance?
can you think a bit more on what you would like to see in terms of API, thread safety, etc?
als you are welcome to join the vtd-xml-users discussion list and we can discuss this a bit more in
detail..