Why does calling a coroutine allocate a lot of stack space even though the coroutine frame is on the heap? November 15, 2023 Nov 15, 2023 11/15/23 Raymond Chen Heap elision optimization kicks in, and doesn't kick out.