Closed Bug 622300 Opened 14 years ago Closed 13 years ago

Speed up DOM JS-to-C++ unwrapping some more

Categories

(Core :: XPConnect, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Unassigned)

References

Details

Proposal: give different DOM concrete classes different JSClasses. Hang whatever information we need for a quick unwrap off these JSClasses (presumably by subclassing the JSClass struct and maybe having a flag on JSClass to indicate when we're using such a subclass). For example, we could hang the current offset tables off of there. Or something else, if that would be useful. Need to figure out what's most beneficial here.
Blocks: 622298
Depends on: 708061
Peter, shall we call this fixed with Paris bindings?
Fine by me.
Alright, fixed. The setup in comment 0 is exactly what Paris bindings do.
Status: NEW → RESOLVED
Closed: 13 years ago
Depends on: 740069
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.