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

Sean Mc Grath digitome at iol.ie
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 ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list