[llvm] [utils][filecheck-lint]: speedup filecheck_lint (PR #94191)

Benjamin Chetioui via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 03:38:59 PDT 2024


================
@@ -228,7 +237,8 @@ def find_best_match(typo):
         )
 
     potential_directives = find_potential_directives(content)
-
+    # cache score and best_match to skip recalculating
----------------
bchetioui wrote:

nit: `[C]ache score and best_match to skip recalculating[.]`

https://github.com/llvm/llvm-project/pull/94191


More information about the llvm-commits mailing list