help-gnu-emacs
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]