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

doc: add initial writting js mistakes section #37

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

RafaelGSS
Copy link
Owner

No description provided.

Copy link
Collaborator

@H4ad H4ad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember you asked the v8 team once about dead-code elimination but I don't remember the NeverOptimize affects dead code or not, should we warn about it?

@RafaelGSS
Copy link
Owner Author

I remember you asked the v8 team once about dead-code elimination but I don't remember the NeverOptimize affects dead code or not, should we warn about it?

It was their recommendation to use NeverOptimize to avoid dead-code elimination, but it doesn't guarantee your code won't be optimised by other factors.

@RafaelGSS RafaelGSS merged commit 66056f9 into main Jan 2, 2025
4 checks passed
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.

2 participants