Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Lisp BigO

Name: Anonymous 2012-01-02 16:07

How fast is:
 
(cdr list...)

Name: Anonymous 2012-01-02 19:25

>>26
Suppose that we have a method of always inferring the value of a variable in a static language. And suppose we would like to know if an algorithm, A will halt or not. We can construct a new algorithm, B

function B()
  if(halts(A))
    a = 1
  else
    a = 0
  end
  print(a)
end

We use the method to find out what the value of a will be when it is printed. If a is 1, then A halts. If a is 0, then A will not halt.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List