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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accelerating Emacs?


From: Stefan Monnier
Subject: Re: Accelerating Emacs?
Date: Wed, 30 Nov 2005 23:43:02 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> One could write an emacs-lisp compiler to native code and write even
> the optimized parts in emacs-lisp.

Problem is: with dynamic scoping and buffer-local variables, you're in for
a big disappointment if you think compiling to native code will give you
anywhere close to the performance of C code.  To get any kind of real
performance, you'll need to either switch to lexical scoping, or add
a sophisticated (whole program) analysis to figure out where lexical scope
can be used without affecting the end result.


        Stefan


reply via email to

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