Changes between Version 5 and Version 6 of DOMInJavaScript
- Timestamp:
- Sep 26, 2012, 11:46:05 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DOMInJavaScript
v5 v6 7 7 == JavaScript == 8 8 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.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). 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. 10 10 11 11 == C++ ==