On Mon, 2004-08-30 at 22:50, Mark Johnson wrote:
> I hadn't heard about the value of
> byte-compiling in Emacs (until I just google'd about it).
>
> Can you give us the shortcut method and reasoning?
The reasoning is that the code will execute faster because it's
partially compiled.
The shortcut method is to use the menus (when in elisp mode):
Emacs-Lisp -> Byte-compile This File
Of course, 'M-x byte-compile-file' also does the trick.
There are other byte-compiling options that may make more sense for
a given context. See the attached screenshot
'emacs-byte-compiling.png' for a visual of the menu-based usage.
Well, I'll be darned. It really is faster loading! Is it just my
imagination, or did fontifying the XML (I think that's what it's called
when I do C-C C-P to parse the DTD, right?) get faster also?
--
Paul W. Frields, RHCE