View source: R/opt-dead-code.R
opt_dead_code | R Documentation |
Performs one dead code elimination pass. Carefully examine the results after running this function!
opt_dead_code(texts)
texts |
A list of character vectors with the code to optimize. |
code <- paste(
"while (TRUE) {",
" break",
" dead_code()",
"}",
sep = "\n"
)
cat(opt_dead_code(list(code))$codes[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.