3 ms·
If Python doesn't depend on the C stack anymore (for most of its work), that's basically what you'll have for free. Python's own stackframes are heap-allocated
by masklinn 5y ago
If Python doesn't depend on the C stack anymore (for most of its work), that's basically what you'll have for free.
Python's own stackframes are heap-allocated and chained (so each function has its own stack, in essence), so its use of a single unified allocation space for stack is already an implementation detail of the interpreter.
- SemanticStrengh 5y agonice