You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is challenging to memoize the algorithm generically since it depends on what is in the elements list. Instead, we should have the function that is passed in memoize its input-output pairs (which is the same as saying we should cache previously computed results). This allows the bisect algorithm to not have to keep old results around, but can rather call the test function again. It simplifies the generic algorithm at the expense of creating the test function it uses. This will help when we go to implement delta debugging as well (see #171).
The text was updated successfully, but these errors were encountered:
It is challenging to memoize the algorithm generically since it depends on what is in the elements list. Instead, we should have the function that is passed in memoize its input-output pairs (which is the same as saying we should cache previously computed results). This allows the bisect algorithm to not have to keep old results around, but can rather call the test function again. It simplifies the generic algorithm at the expense of creating the test function it uses. This will help when we go to implement delta debugging as well (see #171).
The text was updated successfully, but these errors were encountered: