Skip to content

fix(chainfold): memory perf - #32

Merged
rymnc merged 1 commit into
mainfrom
fix/memory
Aug 11, 2026
Merged

fix(chainfold): memory perf#32
rymnc merged 1 commit into
mainfrom
fix/memory

Conversation

@rymnc

@rymnc rymnc commented Aug 11, 2026

Copy link
Copy Markdown
Member

Changes

  • Batch and BlockRing move from arrays of structs to parallel lanes.
  • The ring resolves a block number by a tip-relative guess, then falls back to binary search

Measurements

  • apply: -35.3%
  • snapshot_decode: -51.1%
  • snapshot_encode: 0%
  • improved memory layout reduces simd usage by: 62.7%

Copilot AI lite review requested due to automatic review settings August 11, 2026 22:32
@rymnc
rymnc requested a review from oskarth as a code owner August 11, 2026 22:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@rymnc rymnc self-assigned this Aug 11, 2026
@rymnc
rymnc merged commit fbfbd87 into main Aug 11, 2026
12 checks passed
@rymnc
rymnc deleted the fix/memory branch August 11, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants