cssvalue: Don't call compute() for already computed css values
authorTimm Bäder <mail@baedert.org>
Sat, 11 Jan 2020 11:56:40 +0000 (12:56 +0100)
committerTimm Bäder <mail@baedert.org>
Sat, 18 Jan 2020 07:49:51 +0000 (08:49 +0100)
commitba08f5e67da5dcb0bb68e23f50c37091846ce682
treeb280af4390a09574ddf13ef80deb9f21dc8d41e1
parent31aa5a0e53c869856d2c16bf7d0b15b9b7d6f545
cssvalue: Don't call compute() for already computed css values

As per the previous commit, this is unnecessary.

Even with the small amount of css values we mark as is_computed, we
already skip computing over 60% of them like this during the startup of
the widget factory.
gtk/gtkcssvalue.c