home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!stanford.edu!agate!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!convex!news.utdallas.edu!corpgate!crchh327!mac
- From: mac@bnr.ca (Michael Campbell)
- Subject: Byte-Compiling emacs load files
- Message-ID: <1992Nov10.162624.13800@bnr.ca>
- Sender: news@bnr.ca (News on crchh327)
- Nntp-Posting-Host: crchh570
- Organization: Bell-Northern Research, Richardson, Tx.
- Date: Tue, 10 Nov 1992 16:26:24 GMT
- Lines: 27
-
- I have recently been compiling some "extensions" to my standard
- emacs environment, particularily the hexl hex editing mode, and
- the evi vi emulator. At one point, someone who sent me an email
- suggested that if I first loaded the .el file, and *then*
- compiled the function, the resultant .elc file was "faster",
- "more efficient", etc. To be specific,
-
- o M-x load-file hexl.el
- M-x byte-compile-file hexl.el
- M-x load-file hexl.elc
-
- produces a better result than
-
- o M-x byte-compile-file hexl.el
- M-x load-file hexl.elc
-
- ?
-
- Is there any truth to this? If there is, why is the result
- better than just directly compiling the unloaded file? Any and
- all insight would be greatly appreciated. Please post replies to
- this newsgroup.
-
- ========================================================================
- Michael Campbell BNR Inc. Richardson, Tx.
- ESN 444-5595 Dept 2Q35 75082-4399
- PSTN (214) 684-5595 email: mac@bnr.ca
-