[SVN] OCaml syntax highlight SLOW

David Powers david at grayskies.net
Tue Oct 10 21:26:22 UTC 2006


I can only handle the pinwheel by preventing a stacking of scopes
where the grammar recurses unnecessarily.  Sorry.

On 10/10/06, Benjamin Ylvisaker <benjaminy at fastmail.fm> wrote:
> 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
>
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate-dev
>



More information about the textmate-dev mailing list