Performs the desired optimization strategies in the text. Carefully examine the results after running this function!

optimize_text(text, optimizers = all_optimizers, iterations = Inf)

Arguments

text

A character vector with the code to optimize.

optimizers

A named list of optimizer functions.

iterations

Numeric indicating the number of times optimizers should pass. If there was no change after current pass, it will stop.