Skip to content

support generic iterators and/or input numpy arrays in constructor. #17

@ctb

Description

@ctb

I would like to be able to use generic Python iterators in the PyMPHF construction. Right now there is a round of memory-inefficient copying of hashes, which is bad when you have a lot of k-mers!

It would also be nice to support more memory efficient input data structures than Python sets or lists... we already depend on numpy, so maybe a nice 1-D ndarray or a data buffer? see internals of numpy.

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