We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If within a function, a variable is assigned multiple times, but just the last assignation is read, then the optimizer could keep just the last one.
For example:
foo <- function() { a <- 8 a <- 8818 return(a ^ 2) }
Would be equivalent to:
foo <- function() { 8 a <- 8818 return(a ^ 2) }
The text was updated successfully, but these errors were encountered:
Hey @jcrodriguez1989 , I tried to implement this intelligent dead store elimination, please have a look at it here, https://github.com/hinduBale/intelligent_dead_store. If you deem fit, I can add it to the rco package along with some new tests. Thanks!
Sorry, something went wrong.
No branches or pull requests
If within a function, a variable is assigned multiple times, but just the last assignation is read, then the optimizer could keep just the last one.
For example:
Would be equivalent to:
The text was updated successfully, but these errors were encountered: