- From: <bugzilla@jessica.w3.org>
- Date: Thu, 09 Oct 2014 14:59:01 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26957 --- Comment #13 from Boris Zbarsky <bzbarsky@mit.edu> --- > querySelector -> Called on the same document. Unclear from a quick glance. > NodeList -> Called on the same parent Node. No. > .style -> Called on the same Node. No. > Because, otherwise, I don't really see a reason to share memory for these > methods/Objects. You're welcome to read the implementation. The source is open. But as a quick hint, getElementsByTagName caches values so we can keep returning the object every time, and it does so in a global hashtable (which has better memory usage characteristics that using multiple per-document hashtables). -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 9 October 2014 14:59:08 UTC