The Resources Limit Computation
v A computation’s execution time (how long it runs) is
specified in terms of the amount of data it is given …
o A problem that runs for a minute on a given amount of data,
and runs for two minutes on twice as much data, etc. is said
to be a “linear computation”
o Computing the weekly pay and deductions for employees is
an example because twice as many employees would take
twice as long to compute pay and deductions
v Other ways of specifying execution time are possible,
such as guesses per interval size as in Day Finder
o Required 5 guesses to find a day among 32 things
o How many guesses would it take if an interval had 64 items?
o How many for 128 items?
o Double the interval use only one more guess … logarithmic