[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: JITTs and DOM


Re:  JITTs and DOM
On Friday 11 October 2002 07:56 am, Jeni Tennison wrote:
> I understood that the *output* would be plain text, but I thought that
> the *input* would be marked-up text. This wasn't the case in the
> samples that you were using for your observations. I did see that you
> characterised them as "observations" and said that you would do more
> investigation, I just didn't want you or anyone else to get too
> hopeful about 30x speedup on the basis of these particular
> observations.

The samples are a demonstration only in that they create smallish DOM trees 
from potentially largish ones (i.e. certain markup is supressed). This would 
be like putting a SAX filter inline with structural stop lists (if you will).

As I noted, the speedup is most likely because the cost of building a DOM is 
usually in object construction, rather than in parsing.

> The other thing that I think is promising about the JITTs approach is
> the ability to parse just the bits of the document that you're
> interested in, on the fly, during processing. A DOM implementation
> that did this behind the scenes could be very effective. (I'm sure
> that native XML databases / content management systems do this kind of
> thing all the time; I don't know if any in-memory DOM implementations
> do, or if it's been tried and for some reason rejected?)

This has been done (laxy evaluation) in the past. From what I saw, the 
performance gain wasn't worth the complexity.

Part of the value of ARA is that it was explicitly design to support parallel 
parsing of documents. I'm not sure that JITT can be used in quite the same 
same way... or at least it'd be more complex because the implicit assumption 
is that you are operating in the context of a tree.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.