Open Bug 1349100 Opened 8 years ago Updated 2 years ago

stylo: Try to cache TextIsOnlyWhitespace after parallel traversal

Categories

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

enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix

People

(Reporter: manishearth, Unassigned)

References

(Blocks 1 open bug)

Details

In bug 1341086, we add ThreadSafeTextIsOnlyWhitespace and ThreadSafeIsSignificantChild, which both do the same thing as their non-threadsafe counterparts, but if the whitespace info is not cached we will recalculate and discard the info. This is suboptimal, and it would be nice if Stylo could still cache this info, maybe after traversal is over. It should be possible to use the same framework that we plan to use in bug 1338982 (and bug 1345950)
Blocks: stylo-perf
Priority: -- → P4
Blocks: stylo
status-firefox57=wontfix unless someone thinks this bug should block 57
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.