GraphPatternOptimise Method (IQueryOptimiser, IEnumerableString) |
Namespace: VDS.RDF.Query.Patterns
Important: If a Pattern has already been optimized then calling this again is a no-op.
For finer grained control of what gets optimized you can use QueryOptimisation to disable automatic optimisation and then manually call this method as necessary.
The vars parameter contains Variables mentioned in the parent Graph Pattern (if any) that can be used to guide optimisation of child graph patterns.