Confused about the query time
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 15h
- PR unite (30g)
- 141
Descrizione
Hi! I'm using a query like:
```
from FunctionCall target
where
predicate1(target)
and predicate2(target)
and predicate3(target)
and predicate4(target)
select target, target.getLocation().toString()
```
I found that if I query one predicate at a time, the time is very short, if I query 4 times separately, will the intersection of the results be the result of querying all the predicates at once?
If so, why is the sum of the time for the separate query so much shorter than the time for the one-time query?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con la query mostrata nell’issue e analizza come CodeQL combina più predicati e riporta il tempo della query. Il payload non nomina file del repository né test e non fornisce alcuna modifica concreta né criteri di completamento, quindi sarebbe prima necessario definire la spiegazione richiesta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- devtools, security
- Tipo di issue
- Documentazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 20/100