[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why it is necessary to compile el files?
From: |
ken |
Subject: |
Re: Why it is necessary to compile el files? |
Date: |
Sat, 29 Sep 2007 01:42:25 -0400 |
User-agent: |
Thunderbird 2.0.0.0 (X11/20070326) |
On 09/28/2007 10:48 PM Ke Lu wrote:
> Why it is necessary to compile el files?
>
> I can't fell it become faster after compile el files.
> I often install emacs package without make and just
> add load script which like following
> (add-to-list 'load-path "path-of-package")
> (require 'xxx)
>
> I think it makes things easy.
>
> I want to know Why it is necessary to compile el files?
> If it makes the speed up,How can I feel it?
It really isn't *necessary*. The byte compiled elisp files will simply
run faster, but perhaps not enough that human senses will detect a speed
increase.
If you're running a *nix system, you could do
$ time emacs -batch -f test.el
(or something like that) and then the same on test.elc and it will show
the execution speed of each test file.
--
The whole problem with the world is that fools and fanatics are always
so certain of themselves, and wiser people so full of doubts.
- Bertrand Russell, philosopher, mathematician, author,
Nobel laureate (1872-1970)