MCPcopy
hub / github.com/perkeep/perkeep / optimizePlan

Function optimizePlan

pkg/search/query.go:970–973  ·  view source on GitHub ↗

optimizePlan returns an optimized version of c which will hopefully execute faster than executing c literally.

(c *Constraint)

Source from the content-addressed store, hash-verified

968// optimizePlan returns an optimized version of c which will hopefully
969// execute faster than executing c literally.
970func optimizePlan(c *Constraint) *Constraint {
971 // TODO: what the comment above says.
972 return c
973}
974
975var debugQuerySpeed, _ = strconv.ParseBool(os.Getenv("CAMLI_DEBUG_QUERY_SPEED"))
976

Callers 1

plannedQueryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected