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:
Narfinger 2025-09-03 20:15:19 +02:00 committed by GitHub
parent 0ae9ee28d5
commit 5c7ea4bdee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 71 additions and 54 deletions

4
Cargo.lock generated
View file

@ -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",