[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JIT stealth font-lock tuning parameters
From: |
Stefan Monnier |
Subject: |
Re: JIT stealth font-lock tuning parameters |
Date: |
Thu, 15 Nov 2001 06:54:23 -0500 |
> Is there a parameter which controls how much work
> JIT-lock does, once it starts working?
Yes: jit-lock-chunk-size.
> Maybe that parameter should be reduced on a slow machine.
I'm not sure it would help.
I think the long pauses are not due to chunks being too large
but rather to the fact that font-lock sometimes needs to do
some preparatory work that not proportional to chunk. For example,
it might need to do (parse-partial-sexp (point-min) (point)).
The maximum time spent in `parse-partial-sexp' should be reduced
by `syntax-ppss' so at least that part of the problem should be improved.
Or will be improved since the current code still uses both the old
"slow" code and the new "fast" code.
I haven't gotten much (if any) feedback about the elp-profiling of
those two options, so it seems that the few people who looked at it
found syntax-ppss to be faster (I asked to be told when syntax-ppss
is slower). I'll hence soon remove the "old slow" code.
Stefan
- Re: JIT stealth font-lock tuning parameters, (continued)
- Re: JIT stealth font-lock tuning parameters, Alan Shutko, 2001/11/12
- Re: JIT stealth font-lock tuning parameters, Richard Stallman, 2001/11/13
- Re: JIT stealth font-lock tuning parameters, Eli Zaretskii, 2001/11/13
- Re: JIT stealth font-lock tuning parameters, Richard Stallman, 2001/11/13
- Re: JIT stealth font-lock tuning parameters, Eli Zaretskii, 2001/11/14
- Re: JIT stealth font-lock tuning parameters, Richard Stallman, 2001/11/15
- Re: JIT stealth font-lock tuning parameters,
Stefan Monnier <=
- Re: JIT stealth font-lock tuning parameters, Richard Stallman, 2001/11/15
- Re: JIT stealth font-lock tuning parameters, Stefan Monnier, 2001/11/15
- Re: JIT stealth font-lock tuning parameters, Richard Stallman, 2001/11/16
- Re: JIT stealth font-lock tuning parameters, Stefan Monnier, 2001/11/16
- Re: JIT stealth font-lock tuning parameters, Eli Zaretskii, 2001/11/17
- Re: JIT stealth font-lock tuning parameters, Richard Stallman, 2001/11/17
- Re: JIT stealth font-lock tuning parameters, Richard Stallman, 2001/11/17
- Re: JIT stealth font-lock tuning parameters, Stefan Monnier, 2001/11/17
- Re: JIT stealth font-lock tuning parameters, Richard Stallman, 2001/11/18
- Re: JIT stealth font-lock tuning parameters, Stefan Monnier, 2001/11/18