Open Bug 1542914 Opened 5 years ago Updated 2 years ago

Add static asserts to prevent display items from increasing in size

Categories

(Core :: Web Painting, defect, P3)

defect

Tracking

()

Tracking Status
firefox68 --- affected

People

(Reporter: mattwoodrow, Unassigned)

References

(Blocks 1 open bug)

Details

We see in bug 1502049 that display item size matters considerably for performance.

We currently don't track the size of display items, so it's very easy to add new members and cause lots of items to move into a different bucket.

We should add some static asserts of the expected size for item, so that we're forced to carefully consider changes.

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.