W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

Re: Unordered setsmaps, for when ordering is hard/expensive/unwanted?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 02 Sep 2013 15:16:06 -0400
Message-ID: <5224E3F6.3020504@mit.edu>
To: Brendan Eich <brendan@secure.meer.net>
CC: public-script-coord@w3.org
On 9/2/13 12:50 PM, Brendan Eich wrote:
> The proposal is to enumerate properties in a canonical order

Which order?

> "insertion order" by some deterministic algorithm that inserts properties into the
> object in question (gCS's result, e.g.)

There is no such algorithm right now: determination of computed style is 
not done via any particular serial algorithm.

In actual UAs at least in Gecko computed values for properties are 
computed in a non-deterministic order (specifically, we compute them 
lazily, so will compute them when someone akss) and in Servo I am hoping 
we'll be able to compute them in parallel, so _definitely_ not in any 
particular order.

Is your proposal to disallow such implementation strategies?

Received on Monday, 2 September 2013 19:16:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC