Open
Description
What
Following the template of #13378, we want to do more complex analysis on the Solidity level, resulting in annotations of the AST that can be used during code generation to produce more optimal code, resp. code that can be handled better by the optimiser.
In particular, we want to address low-hanging fruit in memory optimizations, i.e. for any memory allocation in Solidity that we can easily determine to be temporary, we do not permanently allocate memory.
Tasks
Related Previous Issues
- Lifetime tracking for temporary memory objects #12351
- [Yul Optimizer] Consider moving statically sized memory allocations to static offsets while adjusting the
memoryguard
#13046 [by determining non-recursive static allocations in Solidity analysis and assigning those fixed offsets before codegen]
Similar Issues to be solved with a similar mechanism, but merely optionally to be done as part of this epic:
Metadata
Metadata
Assignees
Type
Projects
Status
No status