Closed Bug 1353240 Opened 7 years ago Closed 7 years ago

stylo: Rearrange selector representation to use a Vec instead of a linked list

Categories

(Core :: CSS Parsing and Computation, defect, P1)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1331843

People

(Reporter: bholley, Assigned: SimonSapin)

References

(Blocks 1 open bug)

Details

See bug 1331843 comment 34 as well as the discussion around [1].

This should reduce the number of allocations when parsing selectors (which should speed up parsing), and increase cache locality when matching selectors.


[1] https://github.com/servo/servo/pull/15890#issuecomment-288279774
Priority: -- → P1
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.