AttributeMap (was Re: Announcement: SAX 1998-01-12 Draft)

Sean Mc Grath digitome at
Thu Jan 15 17:38:50 GMT 1998

[Matthew Gertner]
>Okay, I thought you were talking about the instantiation of the map
>implementation itself. The fact of the matter is that, although there is
>some overhead to instantiating an iterator object, looping over a list of
>attributes and doing n string compares is not all that efficient either.

Given that attribute ordering is never significant could the attributes
be provided sorted by name so that by-name look up can be achieved with
a binary chop?
Sean Mc Grath
sean at digitome dot com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list