Skip to content

consider for_each_cacheless for HAMT and KAMT #2193

@LesnyRumcajs

Description

@LesnyRumcajs

Consider implementing for_each_cacheless, similar to what was done in #2189, to limit memory usage during a single collection iteration.

https://github.com/filecoin-project/ref-fvm/tree/master/ipld/hamt
https://github.com/filecoin-project/ref-fvm/tree/master/ipld/kamt

Finding a decent existing use case to note the real-world performance gain would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    📌 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions