[
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.
...
|