iotaledger / iotaledger/iota

[iota-kvstore]: refactor `KeyValueStore{Reader, Writer}` to use iterators

Open
#11,625 0 comments 0 reactions 1 assignee Claimed by @sergiupopescu199 View on GitHub
infrastructure
Dominant language
Rust
Stars
110
Forks
71
Avg merge
3d 6h
Merged PRs (30d)
127

Description

`get_transaction_digests` can return an iterator as well, and the suggestion implied that.

_Originally posted by @kodemartin in https://github.com/iotaledger/iota/pull/11594#discussion_r3288192019_

Currently the `KeyValueStore{Reader, Writer}` traits accepts slices where to avoid extra `collect()` calls we could leverage passing & returning iterators, improving performance and developer experience where applicable.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.