onflow / onflow/atree

Speed up reads by adding support for lazy decoding of registers

Open
#341 3 comments 0 reactions 1 assignee View on GitHub

@fxamacker is already working on this.

Since Sep 12, 2023.

Execution performance
Dominant language
Go
Stars
43
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Issue To Be Solved

Decoding should be optimized to improve speed. Currently, Atree encodes in parallel (multiple goroutines) but decodes sequentially.

Suggested Solution

Speed up reads by adding support for lazy decoding of registers.

NOTE: It might be possible to also speedup writes but that will most likely be opened as separate issue to avoid delaying completion of this OKR (once work begins).

Status

This was postponed since 2023-Q4 OKR due to higher priority projects like Crescendo migrations and Atree releases.

We can save time and reduce risks by starting this work immediately after Atree Refactoring (while details are fresh):

  • #464

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.