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

Use optimization level 2 by default in lune cli #268

Closed
wants to merge 1 commit into from

Conversation

green-real
Copy link

No description provided.

@bjcscat
Copy link
Contributor

bjcscat commented Oct 30, 2024

Should level 2 be the default considering it can hurt debugging? I feel like level 1 is a better default with a command line option to set it as level 2.

@filiptibell
Copy link
Collaborator

Yeah, I am also a bit hesitant to use level 2 by default.. We spent a lot of effort on making error messages and stack traces in lune readable by default and this may negate some of that effort. Hot comments (comments starting with --!) and @native attributes are now also becoming much more commonplace - maybe we should rethink Lune's defaults for both native compilation and optimization level.

@green-real green-real closed this Nov 11, 2024
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.

4 participants