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

chore(ssa): per array memory map #832

Merged
merged 5 commits into from
Feb 14, 2023
Merged

chore(ssa): per array memory map #832

merged 5 commits into from
Feb 14, 2023

Conversation

guipublic
Copy link
Contributor

Description

Summary of changes

This is a fourth preparation step for dynamic memory. Instead of having a one big VM that holds all the arrays, we assign one per array, which enable support for variable length arrays.
We also use a more generic name for the structure which abstract the memory_map as it will be extended for the dynamic array feature.

Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt with default settings.
  • I have linked this PR to the issue(s) that it resolves.
  • I have reviewed the changes on GitHub, line by line.
  • I have ensured all changes are covered in the description.
  • This PR requires documentation updates when merged.

@guipublic guipublic requested a review from kevaundray February 13, 2023 17:24
Copy link
Contributor

@kevaundray kevaundray left a comment

Choose a reason for hiding this comment

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

Changes were pretty straightforward, just left some comments around naming and docs :)

@guipublic guipublic added this pull request to the merge queue Feb 14, 2023
Merged via the queue into master with commit 06f058b Feb 14, 2023
@guipublic guipublic deleted the gd/dynamic_array4 branch February 14, 2023 12:53
TomAFrench added a commit that referenced this pull request Feb 14, 2023
* master:
  feat(nargo): add flag to verify created proofs (#737)
  chore: Add display for binaryop (#839)
  chore(ssa): per array memory map (#832)
  chore: remove unwanted print of Ok(<path>) in nargo compile (#843)
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.

3 participants