[Webkit-unassigned] [Bug 87034] treeScope() is too slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 19 21:04:04 PDT 2012


--- Comment #4 from Dominic Cooney <dominicc at chromium.org>  2012-06-19 21:04:03 PST ---
(In reply to comment #2)
> - We could replace Node::m_document with Node::m_treeScope. But it could introduce
>   some type checking which can regress speed from other side.

Two questions:

First, does this constrain us to having detached subtrees in the document tree scope? Will that be acceptable semantically for callers of treeScope?

Second, if detached subtrees are still in the document tree scope, don’t we just have to do a null test (or maybe equality test), not a type test?

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list