Tail-call optimization

In order to better understand what tail-call optimization (TCO) is, we will need to define what it is, understand how it works and learn how to determine if a function is tail-called or not.

Get Mastering The Faster Web with PHP, MySQL, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.