pub fn match_triples_fast(
graph: &SqliteGraph,
pattern: &PatternTriple,
) -> Result<Vec<TripleMatch>, SqliteGraphError>Expand description
Execute cache-enabled fast-path pattern matching.
This function provides an optimized version of pattern matching that:
- Uses cache as a fast-path where safe
- Falls back to SQL where pattern requires it
- Returns IDENTICAL results to match_triples()
- Maintains deterministic ordering
§Arguments
graph- The SQLiteGraph instancepattern- The pattern triple to match
§Returns
A vector of triple matches in deterministic order