Investigate if GetBindingParent should be inlined

NEW
Assigned to

Status

()

Core
DOM
8 years ago
8 years ago

People

(Reporter: smaug, Assigned: smaug)

Tracking

(Blocks: 1 bug)

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

8 years ago
GetBindingParent, which should usually just return null and so it should be
very fast, shows up in profiles occasionally. For example under BindToTree.
Nothing major, but just another extra virtual call.

The inlining could be partial; a flag which indicates if the object
may have binding parent, and call the virtual method only if the flag is set.
You need to log in before you can comment on or make changes to this bug.