all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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/

  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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.