From: Mark S. <ma...@Sc...> - 2007-02-21 05:58:25
|
<snip> > In order to navigate the file efficiently and produce interactive > results I was forced to maintain positions caches for both <ne> and > <tpath> indexed by those nice very-inner atributes. > > For example, a task that took 36 seconds using unhelped navigation can > now be done in 1 or 2 seconds. Interesting. > Any comments? I like it. I have a project coming up that is going to require ripping through the same 1mb-5mb xml documents a lot. All of the required queries will be able to start from a unique position (nice_indexing_attribute) and will not need to traverse more than a dozen elements on average. If I could cache the starting positions in a HashMap and force the VTD-XML xpath query to start at a specific position that would save the xpath query engine from having to walk through a lot of unnecessary data. Just thinking out loud. I'm not sure if I understood if this is coming in 2.0 or not. 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. |