Closed Bug 1887615 Opened 11 months ago Closed 11 months ago

Micro-optimize PointerEventHandler::ReleaseIfCaptureByDescendant

Categories

(Core :: DOM: UI Events & Focus Handling, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: smaug, Assigned: smaug)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(1 file)

PointerEventHandler::ReleaseIfCaptureByDescendant tries to always iterate through the entries, but looks like checking first whether there are any entries would be faster.

Blocks: speedometer3
Whiteboard: [sp3]
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f8543dc7e2f Micro-optimize PointerEventHandler::ReleaseIfCaptureByDescendant, r=edgar
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: