There is a pretty involved discussion about this topic here: Constant propagation vs generated functions
lmiq
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Can Julia exploit constant propagation? | 2 | 2628 | April 30, 2017 | |
| Limitations of generated functions versus macros or functions | 11 | 426 | April 29, 2026 | |
| Recompiling functions with infrequently mutating constant | 7 | 552 | April 1, 2021 | |
| Make entire function constant fold | 4 | 535 | August 19, 2020 | |
| Constant propagation vs generated functions | 26 | 2918 | August 1, 2022 |