Bug 70649 - [MutationObservers] Implement constant-time lookup of observers
Summary: [MutationObservers] Implement constant-time lookup of observers
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 67686
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-21 14:16 PDT by Rafael Weinstein
Modified: 2012-02-09 15:26 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Weinstein 2011-10-21 14:16:07 PDT
If all observers are registered at the document-level (and the document stores this information), we can avoid having to walk up the tree to look for observers. This is likely to be a common case and worth fast-path-ing.
Comment 1 Adam Klein 2012-02-09 15:26:42 PST
Remove as a blocking bug; we've got this in mind as a performance optimization once we've seen more of the usecases of MutationObservers in the wild.