| Summary: | Style::RuleFeatureSet wastes vector capacity | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | CSS | Assignee: | Antti Koivisto <koivisto> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, ntim, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Simon Fraser (smfr)
2023-02-03 10:32:30 PST
Maybe need a shrinkToFit() somewhere like ensureInvalidationRuleSets()? There's bloat out of these two call sites: ClassChangeInvalidation::computeInvalidation() PseudoClassChangeInvalidation::collectRuleSets(); Pull request: https://github.com/WebKit/WebKit/pull/9806 Committed 260021@main (381f8ae629b0): <https://commits.webkit.org/260021@main> Reviewed commits have been landed. Closing PR #9806 and removing active labels. Re-opening for pull request https://github.com/WebKit/WebKit/pull/9830 |