Skip to content

Faster hash function #88

Closed
Closed
@itamarst

Description

@itamarst

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions