IntersectMBO / IntersectMBO/ouroboros-consensus

Use a strict list for the IteratorState

Open
#643 0 comments 0 reactions 0 assignees View on GitHub
technical debt
Dominant language
Haskell
Stars
67
Forks
43
Avg merge
5d 13h
Merged PRs (30d)
43

Description

Replace the lazy lists in [`IteratorState`](https://github.com/input-output-hk/ouroboros-network/blob/d4177d1cacce73ea3db2c865cdb373646653fda5/ouroboros-consensus/src/Ouroboros/Consensus/Storage/ChainDB/Impl/Iterator.hs#L516) with a custom strict data type (until Edsko releases `strict-prelude`). This will allow us to get rid of the `addToAcc` introduced in input-output-hk/ouroboros-network#2323.

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.