Skip to content

feat: merge-train/avm#20178

Merged
AztecBot merged 1 commit intonextfrom
merge-train/avm
Feb 5, 2026
Merged

feat: merge-train/avm#20178
AztecBot merged 1 commit intonextfrom
merge-train/avm

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Feb 4, 2026

BEGIN_COMMIT_OVERRIDE
feat(avm)!: smaller precomputed trace (#20144)
END_COMMIT_OVERRIDE

This PR performs the following changes (kudo to @fcarreiro for
suggesting this):

- precomputed.clk is non-zero only on the active portion of the
precomputed subtrace
- Introduce a clk column in execution sub-trace (counter on active
rows). For each execution dispatching lookup using precomputed.clk, we
replace precomputed.clk by execution.clk.
- Rename precomputed.clk by precomputed.idx

Performance improvements
* PCS: goes from `3s` to ~`1.3s` on 32 cores.
* For bulk this is a small improvement.
* But for token transfers it is a 25%+ improvement.
Copy link
Collaborator

@ludamad ludamad left a comment

Choose a reason for hiding this comment

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

🤖 Auto-approved

@AztecBot AztecBot added this pull request to the merge queue Feb 5, 2026
@AztecBot
Copy link
Collaborator Author

AztecBot commented Feb 5, 2026

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

1 similar comment
@AztecBot
Copy link
Collaborator Author

AztecBot commented Feb 5, 2026

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

Merged via the queue into next with commit 331fef5 Feb 5, 2026
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants