[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: State-machine based syntax highlighting
From: |
address@hidden |
Subject: |
Re: State-machine based syntax highlighting |
Date: |
7 Dec 2006 11:29:26 -0800 |
User-agent: |
G2/1.0 |
Stefan Monnier wrote:
> > Good to know. I thought font-lock was implemented in elisp and didn't
> > bother to check.
>
> If you look at the code you'll probably think it's implemented in elisp.
> But if you look at a profile, you'll probably see that it's spending most of
> its time in either text-property manipulation functions, or
> regexp-matching, or parse-partial-sexp, all of which are written in C.
You wrote VIM is a little faster than Emacs. Is it because of the time
spent in the elisp part in emacs or the C part itself is implemented
more efficiently in VIM?
If it's the latter then the C implementations could be compared to see
what VIM does better.
- Re: State-machine based syntax highlighting, (continued)
- Re: State-machine based syntax highlighting, Leo, 2006/12/08
- Re: State-machine based syntax highlighting, Robert Thorpe, 2006/12/08
- Re: State-machine based syntax highlighting, Stefan Monnier, 2006/12/08
- Message not available
- Re: State-machine based syntax highlighting, Robert Thorpe, 2006/12/08
- Re: State-machine based syntax highlighting, address@hidden, 2006/12/08
- Message not available
- Re: State-machine based syntax highlighting, Robert Thorpe, 2006/12/08
- Re: State-machine based syntax highlighting, Stefan Monnier, 2006/12/07
- Re: State-machine based syntax highlighting,
address@hidden <=
- Re: State-machine based syntax highlighting, Robert Thorpe, 2006/12/08