cayleygraph / cayleygraph/cayley
LinkedQL + Bolt: .out().is() is slower than .has().union(.has())
Open
performance
- Dominant language
- Go
- Stars
- 15.1k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description**
When executing:
```javascript
g.V().out(predicate).is(a, b)
```
It is signifcantly slower than
```javascript
g.V().has(predicate, a).union(g.V().has(predicate, .b)
```
I presume it has to do with the way we use indexes for `.out().is()` which is not optimized like `.has()`
Contributor guide
Assessment
This issue has not been assessed yet.