vitreo12 / omni

DSL for low-level audio programming.
https://vitreo12.github.io/omni/
MIT License
187 stars 6 forks source link

C compiler optimizations #78

Open vitreo12 opened 4 years ago

vitreo12 commented 4 years ago

Use flto for gcc?

https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

https://forum.nim-lang.org/t/6283#38755

vitreo12 commented 4 years ago

https://forum.nim-lang.org/t/6295

The omni file could be compiled, ran through a simple test, record the data, and then recompiled using the -fprofile-instr-use flag on the recorded data!

Perhaps, this would not be done in the JIT implementation