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 | 2658 | April 30, 2017 | |
| Limitations of generated functions versus macros or functions | 11 | 627 | April 29, 2026 | |
| Recompiling functions with infrequently mutating constant | 7 | 614 | April 1, 2021 | |
| Make entire function constant fold | 4 | 584 | August 19, 2020 | |
| Constant propagation vs generated functions | 26 | 3204 | August 1, 2022 |