4 ms·
> JS doesn't have tail call optimization and for loops are just fine. Not personally familiar with Express's internals, but if this is async iteration nothing'
by _greim_ 12y ago
> JS doesn't have tail call optimization and for loops are just fine.
Not personally familiar with Express's internals, but if this is async iteration nothing's pushing onto the call stack in the first place. Unless you're using generators, but in that case you can just use a for loop.
- kevingadd 12y agoThe deeply nested stack in the flame chart suggests that it is recursing, and the netflix article said it's recursing...