diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2014-09-16 22:58:52 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2014-10-10 17:02:27 -0700 |
commit | 2a790d06dd74b1de0c47d433c7fa3a9d8af03efc (patch) | |
tree | 83346e183c3bf7ef3d8d4edf554667bc263e73c4 /components/util/namespace.rs | |
parent | 878ece58da7f60b45e9230356ac7a5bbf7351e5b (diff) | |
download | servo-2a790d06dd74b1de0c47d433c7fa3a9d8af03efc.tar.gz servo-2a790d06dd74b1de0c47d433c7fa3a9d8af03efc.zip |
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.
Diffstat (limited to 'components/util/namespace.rs')
-rw-r--r-- | components/util/namespace.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/util/namespace.rs b/components/util/namespace.rs index 810ac7c4456..c138a29706a 100644 --- a/components/util/namespace.rs +++ b/components/util/namespace.rs @@ -11,3 +11,4 @@ pub fn from_domstring(url: Option<DOMString>) -> Namespace { Some(ref s) => Namespace(Atom::from_slice(s.as_slice())), } } + |