onflow / atree

Atree provides scalable arrays and scalable ordered maps.
https://onflow.org
Apache License 2.0
39 stars 16 forks source link

Optimize Array to reduce Flow's Mtrie size and reduce number of reads #297

Closed fxamacker closed 6 months ago

fxamacker commented 1 year ago

Issue To Be Solved

We can reduce memory use on Flow execution nodes.

See https://github.com/dapperlabs/flow-go/issues/6320

Suggested Solution

Optimize scalable Array to reduce memory use after completing #296.

Incorporate lessons learned during #296 (e.g. any unexpected issues found during Cadence integration) to avoid similar issues (if any) while optimizing scalable Array. If feasible, the solution should make changes to Cadence minimal (if any are required).

Updates #292 Updates https://github.com/onflow/flow-go/issues/1744

fxamacker commented 6 months ago

Closed by #342