AnnaSkantz
03/31/2023, 5:47 AM-opt
to the freeCompilerArgs
list in the build.gradle.kts
file in the shared folder (execution time went from approx 1.4 to 0.33). Now, I have some questions:
1. What kinds of optimizations are made by adding -opt
? (such as for instance “constant folding”, “dead code removal” etc.)
2. Are there other optimizations that I can apply?
I would appreciate any input or suggestions that you have as I struggle to find documentation or information on this. If you know any good resources, let me know!
Thanks!