On 7/24/13 12:16 PM, Josh Matthews wrote:
All DOM objects are represented with |JSManaged<Whatever> whatever|. When you want to access a property owner_document of Whatever, you use |do whatever.with_imm |whatever| { whatever.owner_document }|, and |do whatever.with_mut |whatever| { whatever.owner_document = other_document }| to modify it.
Hmm. That looks pretty annoying to write for every single property access, or am I just misunderstanding?
The limit for non-proxies is 16 words, for proxies it's 13.
That's what I thought. 16 words is 128 bytes, right? If each "pointer" member is effectively two words because of the COW stuff, that still means we should be able to fit in 6 or so of them plus a few other bits... What does the memory layout of a Node look like in our setup right now?
-Boris _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo