-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bound the recursion depth of size_stmt
Limit recursive calls on if-then-else statements to avoid quadratic behaviors. Also: put a fixed upper limit on the return value of size_stmt, since large values of the size are meaningless and make the `more_likely` criterion unstable.
- Loading branch information
1 parent
90418d0
commit 84fb063
Showing
1 changed file
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters