Closed Bug 1506760 Opened 2 years ago Closed 2 years ago

store CSS Variable references as a boxed slice rather than a PrecomputedHashSet

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: heycam, Assigned: heycam)

References

Details

Attachments

(1 file)

Once we've parsed the variable value, we no longer need to keep the referenced variable names as a set, since all we do is iterate over them, not look up individual names.
Assignee: nobody → cam
Once we've parsed the variable references, there is no need to keep an entire HashSet
object around, as all we do is iterate over the values.
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8482a89e69e4
Store variable references with a boxed slice rather than a PrecomputedHashSet r=emilio
https://hg.mozilla.org/mozilla-central/rev/8482a89e69e4
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.