[SVN] OCaml syntax highlight SLOW
Benjamin Ylvisaker
benjaminy at fastmail.fm
Tue Oct 10 20:44:38 UTC 2006
On Tue, 10 Oct 2006 20:58:06 +0200
Allan Odgaard <throw-away-1 at macromates.com> wrote:
> On 10. Oct 2006, at 20:52, Benjamin Ylvisaker wrote:
>
> > [...] Should it not be possible to cache syntax highlighting
> > information, so that it doesn't have to be recomputed every time
> > one switches between unmodified files in a project?
>
> It does do that -- do you lose the coloring when you switch? It
> might be that TextMate thinks your file is modified then. If that is
> the case, what file system are you using? I’ve had users experience
> this problem with the UFS because it appears to have somewhat broken
> “last modified” handling.
You're right (of course), the coloring does remain when I switch
between open tabs. However, the CPU definitely spikes for a couple of
seconds, so it must be recomputing something.
Benjamin
More information about the textmate-dev
mailing list