In some cases, we were iterating through all the statements in a graph. In general #query is more semantically correct and should be faster in specific implementations, avoiding the need to touch any statement that doesn't match the pattern.
This is a minor refactor, possibly improving performance.
In some cases, we were iterating through all the statements in a graph. In general
#query
is more semantically correct and should be faster in specific implementations, avoiding the need to touch any statement that doesn't match the pattern.This is a minor refactor, possibly improving performance.