3 ms·
If you are traversing a tree in constant stack space, the closures your continuations are holding on to must be O(ln) in space and representing what would have
by jjnoakes 10y ago
If you are traversing a tree in constant stack space, the closures your continuations are holding on to must be O(ln) in space and representing what would have been on the stack, right?
- willtim 10y agoYes absolutely, I'd be trading stack for heap.