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: Stefan Monnier
Subject: Re: State-machine based syntax highlighting
Date: Thu, 07 Dec 2006 14:02:32 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

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


        Stefan


reply via email to

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