From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs evaluating
Date: Sat, 7 Feb 2009 13:25:41 -0800 (PST) [thread overview]
Message-ID: <035e7364-1d7f-43a9-9b7b-f8d401f1cf78@p2g2000prn.googlegroups.com> (raw)
In-Reply-To: 868woinf00.fsf@timbral.net
On Feb 7, 12:55 pm, Evans Winner <tho...@timbral.net> wrote:
> p...@informatimago.com (Pascal J. Bourguignon) writes:
>
> To compile a function: (byte-compile 'your-function) C-x
> C-e
>
> I had never thought of this. I think I really must not
> understand compilation very clearly. I think I grasp that
> an entire file full of functions will load faster if it is
> compiled first, but what does interactively compiling a
> single function buy me? Does it exist in a different form
> in the image when you do that? Does it execute faster?
> (This is not a facetious question, by the way.) Er, maybe
> it has to do with debugging macros or something...?
it'll speed up loading, and also execution.
• Speed of Byte-Code - GNU Emacs Lisp Reference Manual
http://xahlee.org/elisp/Speed-of-Byte_002dCode.html
you can try to test the code in that page (which contain comparison
that ran in 1994!)
there are some packages that's over 10k lines. e.g. js2, nxml,
ejacs... you can also try the speed comparison using these ...
Xah
∑ http://xahlee.org/
☄
next prev parent reply other threads:[~2009-02-07 21:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <gmir6e$cno$1@gregory.bnet.hr>
[not found] ` <gmjvvq$fuv$1@gregory.bnet.hr>
2009-02-07 14:18 ` emacs evaluating Pascal J. Bourguignon
2009-02-07 14:36 ` Xah Lee
2009-02-07 20:55 ` Evans Winner
2009-02-07 21:25 ` Xah Lee [this message]
2009-02-07 22:23 ` Pascal J. Bourguignon
2009-02-07 22:33 ` Michael Ekstrand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=035e7364-1d7f-43a9-9b7b-f8d401f1cf78@p2g2000prn.googlegroups.com \
--to=xahlee@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).