Use dynamically-sized Arcs for Selector.

MozReview-Commit-ID: hq0jYrx8Sg
This commit is contained in:
Bobby Holley 2017-06-02 17:59:35 -07:00
parent 21448cf266
commit 852efb825f
6 changed files with 29 additions and 340 deletions

View file

@ -22,7 +22,7 @@ fn size_of_selectors_dummy_types() {
// The size of this is critical to performance on the bloom-basic microbenchmark.
// When iterating over a large Rule array, we want to be able to fast-reject
// selectors (with the inline hashes) with as few cache misses as possible.
size_of_test!(test_size_of_rule, style::stylist::Rule, 64);
size_of_test!(test_size_of_rule, style::stylist::Rule, 48);
size_of_test!(test_size_of_property_declaration, style::properties::PropertyDeclaration, 32);