Lazy Dynamic-Programming Can Be Eager

Abstract Lazy evaluation in a functional language is exploited to make the simple dynamic-programming algorithm for the edit-distance problem run quickly on similar strings: being lazy can be fast.