灯下 登录
计算机科学 / SICP / 5.1.4 Using a Stack to Implement Recursion

Exercise 5.6 · 习题

Exercise 5.6: Ben Bitdiddle observes that the

Fibonacci machine’s controller sequence has an extra save and an extra

restore, which can be removed to make a faster machine. Where are these

instructions?

练习 5.6:Ben Bitdiddle 注意到,Fibonacci 机器的控制器序列中有一条多余的 save 和一条多余的 restore,去掉它们可以让机器运行更快。这些指令在哪里?