-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When searching recursively from the top, we can cache the result. If we have a deeply nested struct A -> B -> C -> D -> Enum and start by checking A, the other structs B, C and D can cache the result of the recursive search. This also adds more tests. Signed-off-by: Aaron Dewes <[email protected]>
- Loading branch information
1 parent
936dd56
commit 991292e
Showing
2 changed files
with
67 additions
and
1 deletion.
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
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