W3C home > Mailing lists > Public > www-style@w3.org > February 2009

Re: [css3-gcpm] Incompatibilities with css3-content

From: Giovanni Campagna <scampa.giovanni@gmail.com>
Date: Mon, 9 Feb 2009 21:44:12 +0100
Message-ID: <65307430902091244o460999ceuf796d280a020af7a@mail.gmail.com>
To: www-style@w3.org
In this case it seems that the implementation cost of move-to is only at the
parser level (what I imagined originally)


2009/2/9 Boris Zbarsky <bzbarsky@mit.edu>

> Giovanni Campagna wrote:
>> How much memory does a new property need?
> In a naive implementation, for each property, for each element you need to
> store the specified, computed, and used value.  An obvious optimization is
> to not store specified values for properties that are not actually
> specified, and to collapse computed and used values for all properties where
> the two do not differ (e.g. float would fall in this bucket).
> For this particular case, the value seems to be able to fit into an integer
> of some sort without too much trouble, so the answer would seem to be "a few
> bytes per node", modulo optimizations involving sharing style data across
> nodes.
> -Boris
Received on Monday, 9 February 2009 20:44:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:24 UTC