(In reply to Jan de Mooij [:jandem] from comment #4) > To optimize this we could have a flag for "I'm a plain WeakMap without any CCW keys (or cross-zone CCWs)". One issue I found with this is that a key can start out as a plain object and then swapped with a CCW.
Bug 1952626 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Jan de Mooij [:jandem] from comment #4) > To optimize this we could have a flag for "I'm a plain WeakMap without any CCW keys (or cross-zone CCWs)". One issue I found with this is that a key can start out as a plain object and then get swapped with a CCW.
(In reply to Jan de Mooij [:jandem] from comment #4) > To optimize this we could have a flag for "I'm a plain WeakMap without any CCW keys (or cross-zone CCWs)". One issue I found with this is that a key can start out as a plain object and then get swapped with a CCW.