All users were logged out of Bugzilla on October 13th, 2018

Reserve 1 space in Selection::mRanges

RESOLVED FIXED in Firefox 56

Status

()

RESOLVED FIXED
a year ago
23 days ago

People

(Reporter: Ehsan, Assigned: Ehsan)

Tracking

(Blocks: 1 bug)

unspecified
mozilla56
Points:
---

Firefox Tracking Flags

(firefox56 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

a year ago
Most selections on the Web end up with one Range inside them.
By reserving the space for this one range inline, we can avoid the
allocator pressure in a lot of hot code when manipulating the
Selection object.
(Assignee)

Comment 1

a year ago
Created attachment 8891438 [details] [diff] [review]
Reserve 1 space in Selection::mRanges
Attachment #8891438 - Flags: review?(kyle)
(Assignee)

Updated

a year ago
Blocks: 1346723

Comment 2

a year ago
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/07320f178c14
Reserve 1 space in Selection::mRanges; r=qdot

Comment 3

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/07320f178c14
Status: NEW → RESOLVED
Last Resolved: a year ago
status-firefox56: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Assignee: nobody → ehsan
You need to log in before you can comment on or make changes to this bug.