chore: fix benchmark
This commit is contained in:
parent
1f732bb3b7
commit
d6eab393f4
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ open Lean Elab
|
|||
def bench (pattern : String) : TermElabM Unit := do
|
||||
let env ← getEnv
|
||||
let mut n := 0
|
||||
IO.println s!"{env.constants.size} decls"
|
||||
-- IO.println s!"{env.constants.size} decls"
|
||||
for (c, _) in env.constants.toList do
|
||||
if Lean.FuzzyMatching.fuzzyMatch pattern c.toString then n := n + 1
|
||||
IO.println s!"{n} matches"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue