-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite detset limit code for discover to never slow DFD down
The original implementation worked by removing search nodes for sets above the given limit. For attributes with sets larger than that, or no sets at all, this caused DFD to "ping-pong" again the limit boundary, which is much less efficient than searching above the bounday as usual. The new implementation works by forbidding sets above the given size from being search path seeds, so that nodes for sets above the limit are only visited when it helps resolves sets within the limit. This results in having to filter out that the above-limit dependencies at the end of the full search, and rarely results in the search being faster than not giving a limit, but it never results in the search taking longer.
- Loading branch information
1 parent
cfa3436
commit f423691
Showing
3 changed files
with
58 additions
and
34 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.