Skip to content

PerfectHashFunction.Create() time spikes with large number of keys #2

Description

@MajorMajor0

Great library.
I found that the time to create the phf is linear up to about 40e6 keys, but at about 41e6 keys it spikes, and at 43e6 it never finishes. I do not believe I am running out of memory. I've played around with the phf settings. They affect the results, but they don't affect this issue very much.
The issue is reproduced here:

https://github.com/MajorMajor0/phf_repro

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions