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

Remove type checks for types that a method never encounters #119

Open
BobVarioa opened this issue Jul 9, 2024 · 0 comments
Open

Remove type checks for types that a method never encounters #119

BobVarioa opened this issue Jul 9, 2024 · 0 comments
Labels
T-performance type: performance

Comments

@BobVarioa
Copy link
Contributor

i.e. if you never call console.log with a number directly, and if there's no indirect calls to it, you can safely remove all the number type checks.

@CanadaHonk CanadaHonk added the T-performance type: performance label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-performance type: performance
Projects
None yet
Development

No branches or pull requests

2 participants