diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2014-10-28 11:24:41 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2014-10-28 11:34:06 -0700 |
commit | a94e13f8886211b2ead8d52b3cfe43cd0c8ff998 (patch) | |
tree | bb1fe4c2d2f530373e4ea1abde42be67e4376d5d /components/script/lib.rs | |
parent | 8ab354ac085d8d70d7ccf992b5262e1969e3949a (diff) | |
download | servo-a94e13f8886211b2ead8d52b3cfe43cd0c8ff998.tar.gz servo-a94e13f8886211b2ead8d52b3cfe43cd0c8ff998.zip |
script: Use an FNV hash to hash event listeners.
The security properties of SipHash are irrelevant for event listeners
and the creation of the random number generator was showing up high in
the profiles.
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index e03801f5217..02a96942927 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -5,7 +5,7 @@ #![comment = "The Servo Parallel Browser Project"] #![license = "MPL"] -#![feature(globs, macro_rules, struct_variant, phase, unsafe_destructor)] +#![feature(default_type_params, globs, macro_rules, struct_variant, phase, unsafe_destructor)] #![deny(unused_imports, unused_variable)] #![allow(non_snake_case)] |