Shrink HTMLTableCellElement.
[WebKit-https.git] / Source / WebCore / ChangeLog
index ea7ea4b..e987eb3 100644 (file)
@@ -1,3 +1,21 @@
+2011-10-04  Andreas Kling  <kling@webkit.org>
+
+        Shrink HTMLTableCellElement.
+        https://bugs.webkit.org/show_bug.cgi?id=69347
+
+        Reviewed by Antti Koivisto.
+
+        Don't cache the rowspan and colspan attributes on the element.
+        This shrinks HTMLTableCellElement by one CPU word, reducing memory
+        consumption by 80 kB (on 64-bit) when loading the full HTML5 spec.
+
+        * html/HTMLTableCellElement.cpp:
+        (WebCore::HTMLTableCellElement::HTMLTableCellElement):
+        (WebCore::HTMLTableCellElement::colSpan):
+        (WebCore::HTMLTableCellElement::rowSpan):
+        (WebCore::HTMLTableCellElement::parseMappedAttribute):
+        * html/HTMLTableCellElement.h:
+
 2011-10-04  Sheriff Bot  <webkit.review.bot@gmail.com>
 
         Unreviewed, rolling out r96630.