RESOLVED FIXED 125916
Move function calls outside loop in dom
https://bugs.webkit.org/show_bug.cgi?id=125916
Summary Move function calls outside loop in dom
Laszlo Vidacs
Reported 2013-12-18 02:19:27 PST
Dom Node::dumpStatistics() and Element::cloneAttributesFromElement(const Element& other) calls length() method in each iteration, while the number of elements does not change within the loop.
Attachments
Patch (2.42 KB, patch)
2013-12-18 04:11 PST, Laszlo Vidacs
no flags
Laszlo Vidacs
Comment 1 2013-12-18 04:11:40 PST
WebKit Commit Bot
Comment 2 2013-12-20 02:58:58 PST
Comment on attachment 219521 [details] Patch Clearing flags on attachment: 219521 Committed r160901: <http://trac.webkit.org/changeset/160901>
WebKit Commit Bot
Comment 3 2013-12-20 02:59:00 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.