Don't waste cycles on zeroing every CascadedProperties::Property.
[WebKit-https.git] / Source / WebCore / ChangeLog
index ec6167f9ac6d4c2fc314782b6e2e2281d738f9bd..f97bd21fac8f4733d080056732c060029461a5a1 100644 (file)
@@ -1,3 +1,16 @@
+2013-12-18  Andreas Kling  <akling@apple.com>
+
+        Don't waste cycles on zeroing every CascadedProperties::Property.
+        <https://webkit.org/b/125966>
+
+        The CascadedProperties constructor already zeroes out the whole
+        property array. Move the memset() to setDeferred() which is the only
+        other place we create a Property.
+
+        Brought to you by Instruments.app. Profile your code today!
+
+        Reviewed by Antti Koivisto.
+
 2013-12-18  Hans Muller  <hmuller@adobe.com>
 
         [CSS Shapes] Simplify the BoxShape implementation