Description Usage Arguments Examples
View source: R/opt-common-subexpr.R
Performs one common subexpression elimination pass. Carefully examine the results after running this function!
1 | opt_common_subexpr(texts, n_values = 2, in_fun_call = FALSE)
|
texts |
A list of character vectors with the code to optimize. |
n_values |
A numeric indicating the minimum number of values to consider a subexpression. |
in_fun_call |
A logical indicating whether it should propagate in function calls. Note: this could change the semantics of the program. |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.