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

dead code detection #270

Open
aviatesk opened this issue Oct 28, 2021 · 1 comment
Open

dead code detection #270

aviatesk opened this issue Oct 28, 2021 · 1 comment

Comments

@aviatesk
Copy link
Owner

There are bunch of dead code around (like JuliaLang/julia#42833), and it would be nice if JET can report such cases automatically.

Especially, array allocation couldn't be eliminated by the compiler even if there is no "usage" of the array,
but usually those allocations are just dead code, so a static analysis would be very useful to eliminate such unnecessary computations.

@dpinol
Copy link
Contributor

dpinol commented Jul 18, 2022

👍 I currently detect some cases on my code with a sloppy multiline grep, but it would be cool if jet could make it

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

No branches or pull requests

2 participants