# SICP Solutions

### Chapter 4, Metalinguistic Abstraction

#### Exercise 4.24

I tested using fib in both versions. I have also printed the time taken.

Note that while testing do not context switch between programs in computer else it will add context switching time too. So I first only checked analyzed version without any context switch and then I checked original version.

As can be seen in the output, the second call seems to reduce the time in analyzed version. However, the difference can be seen significantly only at 1000+ fibonacci number!

Analyzed version:

Now, let’s see the same in old version:

Code changes to print time: