cperl
cperl copied to clipboard
builtin tailcall optimization
Replace every call in tail position within a body with a @_=(..args..); goto &call;
Not done here:
- fix goto for sigs, esp. copy modified args back to the stack when calling a sig. #7
- implement
($arg, ...) { call(...) }for fast stack adjustments. As in goto, but with the possibility to add or remove args from the callstack.