[Webkit-unassigned] [Bug 195776] New: Reduce the size of Node::deref by eliminating an explicit parentNode check
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 14 16:02:12 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=195776
Bug ID: 195776
Summary: Reduce the size of Node::deref by eliminating an
explicit parentNode check
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: rniwa at webkit.org
As discussed in https://bugs.webkit.org/show_bug.cgi?id=195661,
we can use the same strategy as String and use the lowest bit of Node::m_refCount
to indicate the pretense of a parent node.
This will reduce the load in Node::def. We can also avoid writing to m_refCount
in the case of calling removedLastRef() as we've done for RefCounted<T> in https://trac.webkit.org/r30042.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190314/7777dffa/attachment.html>
More information about the webkit-unassigned
mailing list