Skip to content

chore: Add remaining slice methods to the interpreter#5422

Merged
jfecher merged 4 commits intomasterfrom
jf/comptime-slice-methods
Jul 5, 2024
Merged

chore: Add remaining slice methods to the interpreter#5422
jfecher merged 4 commits intomasterfrom
jf/comptime-slice-methods

Conversation

@jfecher
Copy link
Copy Markdown
Contributor

@jfecher jfecher commented Jul 5, 2024

Description

Problem*

Summary*

Adds the remaining builtin slice methods to the interpreter.

Also adds is_unconstrained which always returns true. This way comptime can also take advantage of any if is_unconstrained() optimizations (like break) used in unconstrained code in called functions.

Additional Context

Documentation*

Check one:

  • No documentation needed.
  • Documentation included in this PR.
  • [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants