Re: AttributeMap (was Re: Announcement: SAX 1998-01-12 Draft)
Sean Mc Grath (digitome@iol.ie)
Thu, 15 Jan 1998 17:38:24 GMT
[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