6 ms·
What about the stack? With all these function calls, it's nightmarish to optimize.
by dsc 16y ago
What about the stack? With all these function calls, it's nightmarish to optimize.
- merijnv 16y ago(I think) you're starting with the flawed assumption of what "the" stack is, while functional languages like Haskell have a stack, it is very different from the stack as you may now it in C, so the optimization issues are different too. The assembly of functional calls in functional languages can be a lot more lightweight then in for example C.