Closed
Description
Given pervasive use of dicts, Python's hash function gets used a lot. There are faster alternatives than SIP 2-4, e.g. ahash
: https://github.com/tkaitchuck/aHash#comparison-with-other-hashers
ahash
is still in need of cryptographic analysis to prove it has same protection as SIP 2-4, but (from using it in Rust) switching definitely has a meaningful performance improvement on hashmap lookups.
Metadata
Metadata
Assignees
Labels
No labels