Update docs/language/learn-ql/writing-queries/debugging-queries.rst

Co-Authored-By: shati-patel <42641846+shati-patel@users.noreply.github.com>
This commit is contained in:
James Fletcher
2020-01-03 15:55:14 +00:00
committed by GitHub
parent 537739c42d
commit 47f61f3569

View File

@@ -81,7 +81,7 @@ That is, you should define a *base case* that allows the predicate to *bottom ou
The query optimizer has special data structures for dealing with `transitive closures <https://help.semmle.com/QL/ql-handbook/recursion.html#transitive-closures>`__.
If possible, use a transitive closure over a simple recursive predicate, as it is likely to be computed faster.
Folding predicates
Fold predicates
~~~~~~~~~~~~~~~~~~
Sometimes you can assist the query optimizer by "folding" parts of large predicates out into smaller predicates.