3 ms·
It's a bit ridiculous to complicate recursive algorithms just because the stack sizes haven't been increased in the past 3 decades. Nowadays we have at least 4
by ynik 5y ago
It's a bit ridiculous to complicate recursive algorithms just because the stack sizes haven't been increased in the past 3 decades.
Nowadays we have at least 48bit virtual address space available; what's the harm in giving each thread a full GB of stack?