Closed Bug 311546 Opened 21 years ago Closed 20 years ago

[FIX]ProcessPendingRestyles does extra work if there are no pending restyles

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

(Keywords: perf)

Attachments

(1 file)

If mPendingRestyles has no entries, we still end up allocating an array, enumerating, etc, etc. No need for that.
Keywords: perf
Priority: -- → P2
Target Milestone: --- → mozilla1.9alpha
Attached patch Fix — — Splinter Review
Attachment #198819 - Flags: superreview?(dbaron)
Attachment #198819 - Flags: review?(dbaron)
Attachment #198819 - Flags: superreview?(dbaron)
Attachment #198819 - Flags: superreview+
Attachment #198819 - Flags: review?(dbaron)
Attachment #198819 - Flags: review+
Fixed
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: