4 ms·
That's a sensible question to ask. (Though hundreds of calls deep could be done on the stack. Think more like thousands or millions or more.) Have you ever h
by eru 17y ago
That's a sensible question to ask. (Though hundreds of calls deep could be done on the stack. Think more like thousands or millions or more.)
Have you ever heard of parsing with combinators? This may be an example where you can see that tail call optimization really improves things.