[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading souce Elisp faster
From: |
Richard Stallman |
Subject: |
Re: Loading souce Elisp faster |
Date: |
Mon, 25 Feb 2013 06:43:43 -0500 |
It used to be the case that compiling one's .emacs was silly because it
provided no measurable speed difference. But nowadays this is not true
any more: loading a source Elisp file is significantly slower because it
goes through load-with-code-conversion.
Is the slowdown due to heuristically recognizing the encoding?
It'd be easy to fix these to put the "coding:" tag
at the start.
Is that really necessary? Loading has to read in the whole file.
Can't we check for a tag at the beginning OR at the end
before trying to heuristically recognize the encoding?
Actually, I thought Emacs already did that. If it doesn't, it should.
Then all we need is a different default when it is an Elisp file.
Do we need to support non-utf-8 elisp files? I say we convert all of
them (those in our control) to utf-8 and be done with it.
We could do this, but we still need to support other people's Lisp code,
so we can't drop support for other coding systems.
Even changing the default might break things for users.
--
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
Use Ekiga or an ordinary phone call
- Re: Loading souce Elisp faster, (continued)
- Re: Loading souce Elisp faster, Paul Eggert, 2013/02/25
- Re: Loading souce Elisp faster, Xue Fuqiao, 2013/02/25
- Re: Loading souce Elisp faster, Eli Zaretskii, 2013/02/25
- Re: Loading souce Elisp faster, Leo Liu, 2013/02/25
- Re: Loading souce Elisp faster, Ted Zlatanov, 2013/02/25
Re: Loading souce Elisp faster, Achim Gratz, 2013/02/25
Re: Loading souce Elisp faster,
Richard Stallman <=
- Re: Loading souce Elisp faster, Stefan Monnier, 2013/02/25
- RE: Loading souce Elisp faster, Drew Adams, 2013/02/25
- Re: Loading souce Elisp faster, Stefan Monnier, 2013/02/25
- Re: Loading souce Elisp faster, Lennart Borgman, 2013/02/25
- Re: Loading souce Elisp faster, Stefan Monnier, 2013/02/25
- Re: Loading souce Elisp faster, Lennart Borgman, 2013/02/25
- Re: Loading souce Elisp faster, Stefan Monnier, 2013/02/25
- Re: Loading souce Elisp faster, Lennart Borgman, 2013/02/25
- Re: Loading souce Elisp faster, Stefan Monnier, 2013/02/25
- Re: Loading souce Elisp faster, Lennart Borgman, 2013/02/25