Skip to content

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
Development

Successfully merging this pull request may close these issues.

comptime intepretter fails with stack-too-deep error from recursing when quicksorting a not-excessively large array
1 participant