2 ms·
The typical implementation of async/await need to store (the equivalent of) a single activation frame (as opposed to a stack of activation frames). This is norm
by gpderetta 5y ago
The typical implementation of async/await need to store (the equivalent of) a single activation frame (as opposed to a stack of activation frames). This is normally stored separately on the heap, but it can be embedded in some other (heap allocated object) or even stored directly on the stack of some thread, depending on language, usage patterns and optimization capabilites.