Closed Bug 1356835 Opened 3 years ago Closed 3 years ago

Reduce the hashtable lookup cost in nsContentPolicy::CheckPolicy()

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: ehsan, Assigned: ehsan)

References

Details

Attachments

(1 file)

Currently this function obtains two XPCOM services, which does two hashtable lookups.  These lookups show up in profiles.
Attachment #8858548 - Flags: review?(kyle) → review+
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/938824ac5749
Reduce the hashtable lookup cost in nsContentPolicy::CheckPolicy(); r=qdot
https://hg.mozilla.org/mozilla-central/rev/938824ac5749
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.