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

Create lists of literals at compile time #587

Open
Acaccia opened this issue Dec 17, 2024 · 1 comment · Fixed by #586
Open

Create lists of literals at compile time #587

Acaccia opened this issue Dec 17, 2024 · 1 comment · Fixed by #586
Labels
enhancement New feature or request good first issue Good for newcomers optimization

Comments

@Acaccia
Copy link
Collaborator

Acaccia commented Dec 17, 2024

Currently, something like (list x y z) will be compiled into the instructions to evaluate each arguments at runtime then write them to memory at a specified offset which will become our list.

However, for lists of literal elements such as (list 1 2 3), the representation could be computed and written to memory directly at compile time.

@Acaccia Acaccia added enhancement New feature or request good first issue Good for newcomers optimization labels Dec 17, 2024
@github-project-automation github-project-automation bot moved this to Status: 🆕 New in Stacks Core Eng Dec 17, 2024
@github-project-automation github-project-automation bot moved this from Status: 🆕 New to Status: ✅ Done in Stacks Core Eng Jan 7, 2025
@Acaccia
Copy link
Collaborator Author

Acaccia commented Jan 14, 2025

No idea what triggered the closing of this issue in #586.

@Acaccia Acaccia reopened this Jan 14, 2025
@github-project-automation github-project-automation bot moved this from Status: ✅ Done to Status: 🆕 New in Stacks Core Eng Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers optimization
Projects
Status: Status: 🆕 New
Development

Successfully merging a pull request may close this issue.

1 participant