-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove recursion from is_safe_nonmalleable
As we have done for other `Policy` functions remove the recursive calls in `is_safe_nonmalleable` and use the `post_order_iter` to process each node accumulating the required results in a vector during iteration.
- Loading branch information
Showing
1 changed file
with
40 additions
and
35 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