chore: fix benchmark

This commit is contained in:
Sebastian Ullrich 2024-06-20 18:18:41 +02:00 committed by GitHub
parent 1f732bb3b7
commit d6eab393f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"