Closed Bug 1879318 Opened 5 months ago Closed 5 months ago

Store custom property references in a list rather than a set.

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(1 file, 1 obsolete file)

The idea is that this will allow speeding up substitution by avoiding re-tokenization.

This is a preliminary patch to keep all references (even duplicates), in
order to speed up substitution by avoiding re-tokenizing.

The assumption is that referencing the same variable multiple times
on the declaration is not common, and thus it's not a big deal to
optimize for that.

This should speed up custom variable substitution to avoid re-tokenizing
etc.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/842672970113
Store custom property references in a list. r=zrhoffman,firefox-style-system-reviewers
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch

Comment on attachment 9379036 [details]
WIP: Bug 1879318 - Simplify custom property substitution.

Revision D201116 was moved to bug 1879743. Setting attachment 9379036 [details] to obsolete.

Attachment #9379036 - Attachment is obsolete: true
Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: