vA computation’s
execution time (how long it runs) is specified in terms of the amount of data
it is given …
oA
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”
oComputing
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
vOther ways of
specifying execution time are possible, such as guesses per interval size as in
Day Finder
oRequired 5 guesses
to find a day among 32 things
oHow many guesses
would it take if an interval had 64 items?
oHow many for 128
items?
oDouble the interval
use only one more guess … logarithmic