mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Update docs/language/learn-ql/writing-queries/debugging-queries.rst
Co-Authored-By: shati-patel <42641846+shati-patel@users.noreply.github.com>
(cherry picked from commit 47f61f3569)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user