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.
This commit is contained in:
Patrick Walton 2014-10-28 11:24:41 -07:00
parent 8ab354ac08
commit a94e13f888
3 changed files with 8 additions and 5 deletions

View file

@ -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)]