powered by
Performs one dead code elimination pass. Carefully examine the results after running this function!
opt_dead_code(texts)
A list of character vectors with the code to optimize.
# NOT RUN { code <- paste( "while (TRUE) {", " break", " dead_code()", "}", sep = "\n" ) cat(opt_dead_code(list(code))$codes[[1]]) # }
Run the code above in your browser using DataLab