From: Jimmy Z. <cra...@co...> - 2007-02-21 08:04:35
|
That is a nice feature that can already be accomplished using what is in VTD-XML 2.0... Moreover, since the representation of VTD-XML's node is inherently persistent... it can be included as part of the VTD+XML index, but it is a very advanced feature ..... and you guys are way ahead now that I am feeling behind already ... ----- Original Message ----- From: "Mark Swanson" <mark@ScheduleWorld.com> To: "Rodrigo Cunha" <rn...@gm...> Cc: <vtd...@li...> Sent: Tuesday, February 20, 2007 9:58 PM Subject: Re: [Vtd-xml-users] Random Access Proposal (take 2) > <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. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Vtd-xml-users mailing list > Vtd...@li... > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users > |