--- Begin Message ---
Subject: |
M-x compile still very line-length weak |
Date: |
Thu, 13 Feb 2020 13:51:57 +0800 |
Compare M-x compile on make aaa vs. make bbb
$ cat Makefile
aaa:; perl -we 'print " " x 9999;' #finishes right away.
bbb:; perl -we 'print "\n" x 9999;' #takes several seconds, even on the latest
hardware.
(Indeed, on even longer lines we even see both the words "exit" and "Compiling"
at the same time in the modeline.)
emacs-version "26.3"
--- End Message ---
--- Begin Message ---
Subject: |
Re: #39595: M-x compile still very line-length weak |
Date: |
Mon, 17 Feb 2020 12:07:37 +0100 |
16 feb. 2020 kl. 16.37 skrev 積丹尼 Dan Jacobson <address@hidden>:
> I bet it does!
> (All I know is I just use Debian sid. So in two years...)
Very well, pushed to emacs-27.
For future work, there seem to be more opportunities for speeding up the
remaining regexps. In particular:
* Try to anchor matches at bol when possible.
* Avoid infinite repetitions (of spaces, etc) when the exact amount is known.
* Reject impossible matches as early as possible.
--- End Message ---