mirror of
https://github.com/servo/servo.git
synced 2025-08-27 16:18:21 +01:00
Use dynamically-sized Arcs for Selector.
MozReview-Commit-ID: hq0jYrx8Sg
This commit is contained in:
parent
21448cf266
commit
852efb825f
6 changed files with 29 additions and 340 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue