Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

We should not have linear memory usage #39

@brinchj

Description

@brinchj

Listing all our hashes or keys is using linear memory and could potentially be too large for RAM.

Whenver we list the contents of an index, the result should be streamed out the underlying SQLite database. There is currently no way to do this with Diesel (except manually with limits), so we will revisit this later when Diesel and our codebase have both matured a bit more.

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