Skip to content

Conversation

@jialinli98
Copy link
Contributor

@jialinli98 jialinli98 commented Jan 12, 2026

Description

Problem*

Resolves

Summary*

Added hash_internal helper function to reduce duplication.

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@jialinli98 jialinli98 changed the title improve last hash feat: compute only the first row of matrix multiplication in final round and consolidate functions Jan 12, 2026
@jialinli98 jialinli98 requested a review from TomAFrench January 12, 2026 07:49
@TomAFrench
Copy link
Member

Are we sure that this affects circuit size? I would expect that DIE would remove the extra instructions as they look to be pure.

@jialinli98 jialinli98 changed the title feat: compute only the first row of matrix multiplication in final round and consolidate functions chore: compute only the first row of matrix multiplication in final round and consolidate functions Jan 13, 2026
@TomAFrench TomAFrench changed the title chore: compute only the first row of matrix multiplication in final round and consolidate functions chore: consolidate fixed length poseidon function implementations Jan 13, 2026
@TomAFrench TomAFrench merged commit a901f3b into master Jan 13, 2026
8 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