]> git.eshelyaron.com Git - emacs.git/commit
Hoist some loop-invariant variable bindings in compile.el
authorMattias Engdegård <mattiase@acm.org>
Mon, 19 Oct 2020 10:39:51 +0000 (12:39 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 19 Oct 2020 10:53:38 +0000 (12:53 +0200)
commitb16cd3f1e57239887d393129969bdb702feb10d4
tree4180e2039e49921f743520c6f628e3721607799c
parentbacebc89afcf2f6c47ad18842e7916af4623b4b2
Hoist some loop-invariant variable bindings in compile.el

* lisp/progmodes/compile.el (compilation-parse-errors):
Hoist the binding of case-fold-search and a memq call out of
the loop, eliminating a minor but unnecessary quadratic term.
lisp/progmodes/compile.el