2 ms·
I thought "optimization" in tail call optimization refers to optimizing memory usage--eagerly discard or reuse the frame upon a tail call.
by wahern 9y ago
I thought "optimization" in tail call optimization refers to optimizing memory usage--eagerly discard or reuse the frame upon a tail call.
- _greim_ 9y agoThere's also speed gains to be had from re-using frames instead of creating new ones in some languages, but this is a fair point.