[whatwg] DOMTokenList is unordered but yet requires sorting
Erik Arvidsson
erik.arvidsson at gmail.com
Thu May 14 13:58:20 PDT 2009
On Thu, May 14, 2009 at 00:30, Kristof Zelechovski
<giecrilj at stegny.2a.pl> wrote:
> If a token list represented an ordered set, it could not be sorted to get an
> item because the host would have to preserve the original (document) order
> of tokens.
The question is why does the set need to be ordered at all as long as
it is stable between changes? It would make implementations more
efficient with little no no loss in functionality.
--
erik
More information about the whatwg
mailing list