OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX2: Interning names in namespaces

[ Lists Home | Date Index | Thread Index ]
  • From: james anderson <james.anderson@mecomnet.de>
  • To: xml-dev <xml-dev@xml.org>
  • Date: Tue, 08 Feb 2000 18:11:01 +0100



Stefan Haustein wrote:
> 
> ...
> 
> Assume we have m namespaces and n elements each, and the SAX java
> intering feature is activated. Your "programmers" code needs up to n*m
> comparisons to find the right element. The "scripters" code
> needs up to n+m comparisons only, so I would not call your "programmers"
> code more efficient.
> 
on the other hand, if the names are extendable first class objects, one
can do very useful things with them directly and, should it matter, once
the parser is done, one no longer need do <em>any</em> comparisons.

...





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS