3 ms·
Probably could be a user option in compilers for debug builds to either disable TCO or include "faked stack" in the tco-generated loop --- in many-maybe-most ca
by dualogy 9y ago
Probably could be a user option in compilers for debug builds to either disable TCO or include "faked stack" in the tco-generated loop --- in many-maybe-most cases, wouldn't a cleanly recursive stack trace just consist of ever-the-same-callee repeated a gazillion times? Not all and not the more intricate scenarios of course.
- pdpi 9y agoTCO also applies when you have multiple levels of indirection between the caller and the ultimate callee that actually responds to the request.