Changes between Version 5 and Version 6 of DOMInJavaScript


Ignore:
Timestamp:
Sep 26, 2012 11:46:05 PM (9 years ago)
Author:
abarth@webkit.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DOMInJavaScript

    v5 v6  
    77== JavaScript ==
    88
    9 The main change in this proposal is to move the four basic DOM pointers from C++ pointers to JavaScript properties. When accessing nextSibling, for example, from JavaScript, the JavaScript engine will simply read the nextSibling property as usual (and apply all its usual optimizations). The DOM structure, then, is stored in JavaScript.
     9The main change in this proposal is to move the four basic DOM pointers from C++ pointers to JavaScript properties. When accessing nextSibling, for example, from JavaScript, the JavaScript engine will simply read the nextSibling property as usual (and apply all its usual optimizations). Based on some experiments in [https://bugs.webkit.org/show_bug.cgi?id=97270 Bug 97270], there is some reason to believe that this will make DOM traversal faster.
    1010
    1111== C++ ==