Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(accounts-db): change reference pointers to indexes #358

Merged
merged 8 commits into from
Nov 6, 2024

Conversation

0xNineteen
Copy link
Contributor

@0xNineteen 0xNineteen commented Nov 5, 2024

  • new recycle_buffer struct to make direct indexing easier (recycle_fba doesnt fit what we need)
  • integrate new recycle_buffer
  • minimum integration of index write/read (snapshot validation passes using no pointers)
  • min benchmarking 🧙
  • index integration to rest of the methods (NOTE: decided not to remove the ptr approach because its pretty clean, and we can just store the index as extra data to support fast loading (not expensive))
  • re-benchmark fully
  • fuzzing (we dont actually need to re-fuzz here yet since reads still follow the ptr)

…rect index accesses and non-allocator interface
@0xNineteen 0xNineteen self-assigned this Nov 5, 2024
@0xNineteen 0xNineteen linked an issue Nov 5, 2024 that may be closed by this pull request
@0xNineteen 0xNineteen changed the base branch from main to 19/fastload-v2-allocs November 5, 2024 19:07
@0xNineteen 0xNineteen marked this pull request as ready for review November 6, 2024 20:58
@0xNineteen 0xNineteen marked this pull request as draft November 6, 2024 21:10
@0xNineteen 0xNineteen marked this pull request as ready for review November 6, 2024 21:13
@0xNineteen 0xNineteen merged commit 839fcbf into 19/fastload-v2-allocs Nov 6, 2024
@0xNineteen 0xNineteen deleted the 19/fastload-index-follow branch November 6, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

feat(accounts-db): fast snapshot loading
1 participant