Skip to content

Feature idea : Construct PHast MPHF from iterators? #19

@rob-p

Description

@rob-p

I wonder if it would be possible to have a version of the constructor for PHast that would work based on an iterator rather than an existing slice/Vec. I'm asking this as I'm moving from PTHash in C++ which has this feature, and it's nice to be able to avoid having to materialize all of the keys explicitly for construction. Often, one has access to the ability to quickly iterate all of the keys as they are stored in external memory. I'm not sure how difficult this may be given PHast's underlying algorithm, but thought I'd ask anyway.

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