MCPcopy Create free account
hub / github.com/expr-lang/expr / BenchmarkCountGteOneNoMatch

Function BenchmarkCountGteOneNoMatch

optimizer/count_any_test.go:158–166  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

156}
157
158func BenchmarkCountGteOneNoMatch(b *testing.B) {
159 program, _ := expr.Compile(`count(1..1000, # == 0) >= 1`)
160 var out any
161 b.ResetTimer()
162 for n := 0; n < b.N; n++ {
163 out, _ = vm.Run(program, nil)
164 }
165 _ = out
166}

Callers

nothing calls this directly

Calls 2

CompileFunction · 0.92
RunFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…