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.
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.