Micro-optimize elementAffectsDirectionality().
[WebKit-https.git] / Source / WebCore / ChangeLog
index 64805d7fa1e90b1fe0f6c62c6a83c178b5c002ab..298aa04e0166aea96aecb655b3e5a49252f46264 100644 (file)
@@ -1,3 +1,18 @@
+2014-02-27  Andreas Kling  <akling@apple.com>
+
+        Micro-optimize elementAffectsDirectionality().
+        <https://webkit.org/b/129444>
+
+        Tweak this function to skip an unnecessary bit check and use
+        fastHasAttribute() instead of hasAttribute() for looking up dirAttr.
+
+        ~1% speedup on DYEB/AngularJS.
+
+        Reviewed by Ryosuke Niwa.
+
+        * html/HTMLElement.cpp:
+        (WebCore::elementAffectsDirectionality):
+
 2014-02-27  Brian Burg  <bburg@apple.com>
 
         Web Inspector: model tests should use a special Test.html inspector page
 2014-02-27  Brian Burg  <bburg@apple.com>
 
         Web Inspector: model tests should use a special Test.html inspector page