opshin
opshin copied to clipboard
Optimization: Function inlining
Is your feature request related to a problem? Please describe. Function calls can be expensive.
Describe the solution you'd like Short functions can be inlined by the opshin compiler.
Describe alternatives you've considered None
Additional context Should be toggleable through #168
Bug bounty: 1000 ADA
This can/should also encompass
- inlining of variables that are only written once (i.e. x = y; z = x --> z = y)
- inlining of function calls to functions that are only written once