mirror of
https://github.com/servo/servo.git
synced 2025-07-28 17:50:37 +01:00
Use Gecko's simpler Bloom filter instead of one based on hash
stretching. This preserves the usage of the Bloom filter throughout style recalc, but the implementation is rewritten. Provides a 15% improvement on Guardians of the Galaxy.
This commit is contained in:
parent
878ece58da
commit
2a790d06dd
10 changed files with 335 additions and 357 deletions
|
@ -38,4 +38,5 @@ pub trait TElement<'a> : Copy {
|
|||
fn get_disabled_state(self) -> bool;
|
||||
fn get_enabled_state(self) -> bool;
|
||||
fn has_class(self, name: &str) -> bool;
|
||||
fn each_class(self, callback: |&Atom|);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue