New comment on block [block-idp8542240] #746

Closed
voila opened this Issue Mar 29, 2013 · 2 comments

Comments

Projects
None yet
3 participants

voila commented Mar 29, 2013

Still a formatting problem

This comment references this from milestone alpha3: http://www.realworldocaml.org/alpha3/en/html/imperative-programming-1.html#idp8542240

Context:

ocaml # let rec fib i = if i <= 1 then 1 else fib (i - 1) + fib (i - 2);; This is, however, exponentially slow, for the same reason that edit_distance was slow: we end up making many redundant calls to fib. It shows up quite dramatically in the performance.
Owner

yminsky commented Apr 9, 2013

Fixed in alpha4.

@yminsky yminsky closed this Apr 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment