Open Centril opened 1 month ago
Hashbrown recently switched to foldhash instead of ahash and maybe we should as well.
foldhash
ahash
Perhaps we should split our hashmap/sets into 3 categories:
foldhash-f
foldhash-q
This could gain us some performance wins.
Putting this in 1.0 because I don't know whether we rely on ahash anywhere, in the sense that changing to foldhash would break things, but we can move it out if we realize we don't.
Hashbrown recently switched to
foldhash
instead ofahash
and maybe we should as well.Perhaps we should split our hashmap/sets into 3 categories:
foldhash-f
when we don't care about Hash DoS, e.g., when the data comes from the DB state and not from user input.foldhash-q
or some other hasher like siphash.This could gain us some performance wins.