filecoin-project / filecoin-project/ref-fvm
consider `for_each_cacheless` for HAMT and KAMT
Open
- Dominant language
- Rust
- Stars
- 422
- Forks
- 154
- PR merge metrics
- PR metrics pending
Description
Consider implementing `for_each_cacheless`, similar to what was done in https://github.com/filecoin-project/ref-fvm/pull/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.
Contributor guide
Assessment
This issue has not been assessed yet.