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

Comptime sparse_array codegen #15

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jp4g
Copy link

@jp4g jp4g commented Jan 28, 2025

Description

Adds rust crate for generating sparse array

Problem*

Resolves noir-lang/noir#7213 - comptime generation of sparse array overflows stack

Summary*

Adds rust crate that generates a sparse_array string that can be used at comptime

Additional Context

Does not handle mut sparse array, figured that mutable sparse array and comptime generation were antithetical

PR Checklist*

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant