|
|
|
|
|
by MrBuddyCasino
1468 days ago
|
|
Interesting use case, didn't occur to me that tail calls can also just be a performance optimisation technique to help out the compiler and branch predictor. I assumed hot loops could be implemented just as well using GOTOs, but maybe not? |
|
Tail calls are GOTOs; that's the whole argument https://apps.dtic.mil/sti/citations/ADA030751