From: Jimmy Z. <cra...@co...> - 2006-10-22 18:35:18
|
What do you mean by "caching?" In memory or on disk? One feature VTD will offer is called VTD+XML, which is a way to avoid repetitive parsing... But VTD+xML still needs to be stored on disk... ----- Original Message ----- From: "Paul Tomsic" <pt...@ya...> To: <vtd...@li...> Sent: Sunday, October 22, 2006 8:27 AM Subject: [Vtd-xml-users] design question/best practice > what would be the recommended approach to using VTD > within an application that retrieves values from a > large amt of XML files over-and-over? > > obviously, hitting the disk and reparsing the desired > XML continually would be less than ideal, one would > think. > > would parsing the files once, and caching them as, say > a stringbuffer be a recommendation, then simply having > VTD use the cached string buffer to retrieve the xpath > be good? or is caching them simply not the best > approach, and VTD will perform equally as well with a > cache versus going to disk and rescanning the file? > > thanks > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Vtd-xml-users mailing list > Vtd...@li... > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users > |