Bug 70649
| Summary: | [MutationObservers] Implement constant-time lookup of observers | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Rafael Weinstein <rafaelw> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | adamk, darin, dglazkov, rniwa, sam |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 67686 | ||
| Bug Blocks: | |||
Rafael Weinstein
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adam Klein
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.