這種原產於馬來西亞、體型比大多數品種更小的玲瓏雞,如今在聖保羅鄉間被當作寵物飼養。
sternenseemann published a tailCallOpt wrapper that converts any tail-recursive function into this pattern. He tested it, confirmed it worked, and concluded it was "pretty much useless" due to the overhead of copying state at every step. [1] He also noticed a deeper problem, one he explicitly said he hadn't solved.
,更多细节参见新收录的资料
const len = nums.length;
if one was implementing a C compiler without reading the standard