Closed Bug 1225873 Opened 8 years ago Closed 8 years ago

micro-optimize creating event target chains

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

This code is only called in a few cases that aren't on the critical
path, but less code is less code: we eliminate the checks for whether we
have enough space in the copying loop, and maybe save some function
calls.
Comment on attachment 8689031 [details] [diff] [review]
micro-optimize creating event target chains

A bit uglier, but sure, should be faster.
Attachment #8689031 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/72c01473646a
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.