Reviewed by Richard.
- reduce cost of innerHTML from O(N^2) to O(N*D) where N is the
number of nodes and D is the maximum DOM tree depth.
* khtml/xml/dom_nodeimpl.cpp:
(NodeImpl::recursive_toString): New static helper method for
recursive_toHTML - this is recursive for children but iterative
for siblings.
(NodeImpl::recursive_toHTML): Call the helper with this as the
first argument.
* khtml/xml/dom_nodeimpl.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7333
268f45cc-cd09-0410-ab3c-
d52691b4dbfc