|
From: Mark S. <ma...@Sc...> - 2006-12-05 03:00:11
|
Jimmy Zhang wrote: > latest benchmarks > > http://vtd-xml.sf.net/benchmark.html Very impressive, as usual. I do have a concern/question: what is the overhead of XPath parsing in these cases vs coding the queries in Java using the VTDNav class? I think I remember you posting before that the overhead was negligible, but I wasn't sure in what context or what circumstances this was the case. If you have any additional comments in this regard I'd appreciate reading them. In particular, if you had any performance tips using the XPath evaluator that would be great. Also, I have just found out about XMLModifier. Do you have any example code that shows how best to use this class? Not that it looks difficult - I'm just incredibly lazy and just want to copy/paste code that sets up the VTDNav and calls bind() appropriately. :-) I couldn't find a way to create a masterDocument with a specific character set or other prologue data...(mainly so I can just use updateToken(int, String) ). It would also be interesting to see how well XMLModifier benchmarks against xerces. Cheers. -- http://www.ScheduleWorld.com/ Free Google Calendar synchronization with Outlook, Evolution, cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird, Pocket PC/Windows Mobile. Also sync tasks, notes and contacts! WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support. |