Comment by Aardappel
15 hours ago
Only top level growable arrays get their own "stack", if you create an array of arrays it only uses one stack.
How you deal with the inner stack growing depends, ideally they don't grow (construction only), or you can make them fixed size, or with a capacity, or in the worst case, as a pool. The language has facilities for all of these.
What’s the “pool” case? A function allocates a growable arena in normal heap or virtual memory?
https://aardappel.github.io/goose/docs/reference.html#14-reu...