Open
Bug 1407959
Opened 7 years ago
Updated 2 years ago
stylo: Further optimize the custom property cycle removal to avoid name cloning
Categories
(Core :: CSS Parsing and Computation, enhancement, P4)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: xidorn, Unassigned)
References
Details
If we are going to take the patch in bug 1403839, we are going to do much more unnecessary atom cloning than necessary.
They can be avoided by introducing a new wrapper type over HashMap and restrict operation on it to ensure that keys are never moved, and thus we can safely reference keys as soon as the wrapper type is still alive.
It would require some unsafe code, but shouldn't be too terrible to audit.
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•