Skip to content

feat: Brillig heterogeneous memory cells#5608

Merged
sirasistant merged 9 commits into
masterfrom
arv/heterogeneous_memory_cells_proper
Apr 10, 2024
Merged

feat: Brillig heterogeneous memory cells#5608
sirasistant merged 9 commits into
masterfrom
arv/heterogeneous_memory_cells_proper

Conversation

@sirasistant

@sirasistant sirasistant commented Apr 8, 2024

Copy link
Copy Markdown
Contributor

Since memory in brillig is typed, we can store data in a different way depending on the bit size. This PR makes brillig store memory cells as field only if they are field elements and as BigUints otherwise, avoiding conversions when doing integer operations to improve performance.

Loading
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.

4 participants