MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / rubi-match.test.ts

File rubi-match.test.ts

test/compute-engine/rubi-match.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Regression test for the Rubi matcher's deadline support
2// (scripts/rubi/match.ts). The backtracking AC matcher can, on pathological
3// patterns, explore a large space; matchAll threads the driver deadline so
4// a single rule's match cannot overrun the driver's timeLimitMs. See

Callers

nothing calls this directly

Calls 5

matchAllFunction · 0.90
heavyPatFunction · 0.85
heavyExprFunction · 0.85
symbolMethod · 0.65
exprMethod · 0.65

Tested by

no test coverage detected