forked from mirrors/gecko-dev
We have ArcSelectorList for selector-lists that are cheap to copy. For bug 1859915 and related, what we're going to end up doing is probably expanding into the SelectorList of the parent rule unconditionally, at least for the "single bare &" case. It'd be nice to unify SelectorList implementations as preparation for that, and make them cheaper to clone in general. My proposal is making SelectorList a tagged pointer to either a single selector, or to a ThinArc, effectively preserving the SmallVec<> optimization we have now. This patch implements that proposal. Depends on D191361 Differential Revision: https://phabricator.services.mozilla.com/D191362 |
||
|---|---|---|
| .. | ||
| Cargo.toml | ||
| lib.rs | ||