mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
constellation: Use FnvHashMap
for hashmaps that use ids as keys (#39106)
FNV is faster for hashing less than 16 bytes of data and the cryptographic properties of the default HashMap are not needed for the various ids. Testing: This does not change functionality. Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This commit is contained in:
parent
0ae9ee28d5
commit
5c7ea4bdee
19 changed files with 71 additions and 54 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -1500,6 +1500,7 @@ dependencies = [
|
|||
"dpi",
|
||||
"embedder_traits",
|
||||
"euclid",
|
||||
"fnv",
|
||||
"gleam",
|
||||
"glow",
|
||||
"image",
|
||||
|
@ -1563,6 +1564,7 @@ dependencies = [
|
|||
"devtools_traits",
|
||||
"embedder_traits",
|
||||
"euclid",
|
||||
"fnv",
|
||||
"fonts",
|
||||
"gaol",
|
||||
"ipc-channel",
|
||||
|
@ -1601,6 +1603,7 @@ dependencies = [
|
|||
"devtools_traits",
|
||||
"embedder_traits",
|
||||
"euclid",
|
||||
"fnv",
|
||||
"fonts_traits",
|
||||
"http 1.3.1",
|
||||
"hyper_serde",
|
||||
|
@ -7459,6 +7462,7 @@ dependencies = [
|
|||
"devtools_traits",
|
||||
"embedder_traits",
|
||||
"euclid",
|
||||
"fnv",
|
||||
"ipc-channel",
|
||||
"keyboard-types",
|
||||
"log",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue