To improve GC perfomance and reduce allocations we should support escape analysis.
Similar things already supported in ast_inscope_pod but only for arrays and tables.
We need general form for everything.
This issue contains a good overview of research in this area and how is it implemented in other langauges: inko-lang/inko#776
To improve GC perfomance and reduce allocations we should support escape analysis.
Similar things already supported in ast_inscope_pod but only for arrays and tables.
We need general form for everything.
This issue contains a good overview of research in this area and how is it implemented in other langauges: inko-lang/inko#776