W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2005

[whatwg] WF2 changes: uri->url, ERROR_* constants dropped; status update

From: Jim Ley <jim.ley@gmail.com>
Date: Wed, 23 Mar 2005 19:23:07 +0000
Message-ID: <851c8d31050323112375874034@mail.gmail.com>
On Wed, 23 Mar 2005 17:32:28 +0000, Dean Edwards <dean at edwards.name> wrote:
> I like the repetition model but maybe it needs more work. But not much
> more. I feel we are very close to a simple yet useful mechanism. If we
> did separate it into a separate module then we would have time to tweak
> it...

My current view, which I've not had time to fully write up yet, is
that the repetition model proposed is effectively unimplementable in
IE in an efficient manner.

The requirement to iterate over every element in the document looking
for the attribute, and the requirement to iterate over every attribute
in every element in the template looking to perform the substitution
when inserting make it all very, very slow (the IE attributes
collection contains more than just the attributes defined, and setting
attributes like name are not actually well supported)

I think whilst it's a good generic solution, implementing it in script
for a specific solution gives such a large performance improvement
that the IE script emulation approach will be impractical.

I've yet to come up with any suggestions to improve this though.

Cheers,

Jim.
Received on Wednesday, 23 March 2005 11:23:07 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:39 UTC