[
Lists Home |
Date Index |
Thread Index
]
- From: "Don Park" <donpark@quake.net>
- To: "James Clark" <jjc@jclark.com>, "xml-dev Mailing List" <xml-dev@ic.ac.uk>
- Date: Thu, 15 Jan 1998 14:42:11 -0800
>Because to iterate over the AttributeMap an Enumeration object has to
>get allocated. AttributeList allows iteration over the attributes
>without having to do any allocation.
If the AttributeMap itself implemented Enumeration interface and returned
itself as the enumerator, there is no need to allocate an extra enumeration.
Multiple enumeration can be supported with a slight twist. Net result is
that extra object instantiation is not needed in most case.
Don Park
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|