>>>> "Andy" == Andy Piper
<andy(a)xemacs.org> writes:
> ... unless I enable fontification of large files. Then
> toggling either lookup-syntax-properties or font-lock-mode
> gives a big win on newline-and-indent.
Andy> You mean it gets better when font-lock is turned on? That
Andy> seems weird.
Sorry, I mean "if both font-lock and lookup-syntax-properties are
_on_, then turning off either one gives a factor-of-5 speedup".
Narrowing the buffer also helps a lot, if the buffer is already
fontified.
But the TraverseSchema example still takes more than 10 seconds in a
no-error-checking 21-4-9-3-windows (built on Linux), hardly less than
my full-error-checking 21-4-9 version.
Andy> 2 seconds per character deletion is waaaaaaaay too costly.
Right. I just don't have a test case available where I can see more
speedup from r21-4-9-3-windows than I can get from M-: (setq
lookup-syntax-properties nil).
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
My nostalgia for Icon makes me forget about any of the bad things. I don't
have much nostalgia for Perl, so its faults I remember. Scott Gilbert c.l.py