onflow / onflow/atree

PersistentSlabStorage cache and deltas optimization

Open
#421 1 comment 0 reactions 1 assignee View on GitHub

@fxamacker is already working on this.

Since Jun 24, 2024.

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

Description

Issue To Be Solved

I think PersistentSlabStorage cache and deltas can use map[uint64][uint64]Slab and can avoid extra hashing on cpu level. Especially for migration, this can be a speed up, as we have only 2 address options. ( zero and migrated address) and big accounts has a lot of Slabs.

Reference discord thread: https://discord.com/channels/613813861610684416/1108479699732152503/1254739545140891658

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.