* To Byte Compile or not Byte Compile...that is the question
@ 2002-09-25 15:47 Javier Oviedo
2002-09-25 17:54 ` Barry Margolin
2002-09-26 19:40 ` GI
0 siblings, 2 replies; 4+ messages in thread
From: Javier Oviedo @ 2002-09-25 15:47 UTC (permalink / raw)
Hello all:
I have a relatively small site-lisp directory, holding about 20 files.
Does Byte compiling those files improve performance in any noticeable way?
Thanks in advance!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: To Byte Compile or not Byte Compile...that is the question
2002-09-25 15:47 To Byte Compile or not Byte Compile...that is the question Javier Oviedo
@ 2002-09-25 17:54 ` Barry Margolin
2002-09-26 7:51 ` Klaus Berndl
2002-09-26 19:40 ` GI
1 sibling, 1 reply; 4+ messages in thread
From: Barry Margolin @ 2002-09-25 17:54 UTC (permalink / raw)
In article <amsls6$3u8$1@tilde.itg.ti.com>,
Javier Oviedo <email_joviedo@yahoo.com> wrote:
>I have a relatively small site-lisp directory, holding about 20 files.
>
>Does Byte compiling those files improve performance in any noticeable way?
The number of files is irrelevant, what matters is how often the functions
they define are used, and how big those functions are.
Byte compiling generally can't hurt, it can only help, so there's little
reason *not* to compile them. The only excuse I can think of would be that
you might forget to recompile after making a change, so users would
continue to load the old version.
--
Barry Margolin, barmar@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: To Byte Compile or not Byte Compile...that is the question
2002-09-25 17:54 ` Barry Margolin
@ 2002-09-26 7:51 ` Klaus Berndl
0 siblings, 0 replies; 4+ messages in thread
From: Klaus Berndl @ 2002-09-26 7:51 UTC (permalink / raw)
On Wed, 25 Sep 2002, Barry Margolin wrote:
> In article <amsls6$3u8$1@tilde.itg.ti.com>,
> Javier Oviedo <email_joviedo@yahoo.com> wrote:
> >I have a relatively small site-lisp directory, holding about 20 files.
> >
> >Does Byte compiling those files improve performance in any noticeable way?
>
> The number of files is irrelevant, what matters is how often the functions
> they define are used, and how big those functions are.
>
> Byte compiling generally can't hurt, it can only help, so there's little
> reason *not* to compile them. The only excuse I can think of would be that
> you might forget to recompile after making a change, so users would
> continue to load the old version.
This can be avoided by adding a mechanism which automatically byte-compiles an
elisp-file after saving.
Ciao
Klaus
>
--
Klaus Berndl mailto: klaus.berndl@sdm.de
sd&m AG http://www.sdm.de
software design & management
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: To Byte Compile or not Byte Compile...that is the question
2002-09-25 15:47 To Byte Compile or not Byte Compile...that is the question Javier Oviedo
2002-09-25 17:54 ` Barry Margolin
@ 2002-09-26 19:40 ` GI
1 sibling, 0 replies; 4+ messages in thread
From: GI @ 2002-09-26 19:40 UTC (permalink / raw)
Well, if you're really concerned about performance, I'd suggest you "preload" these files (in which case it doesn't matter if you bytecompile or not).
Use temacs to dump out an executable which already has these files preloaded. It saves a lot of time. It's outalined in the "Building emacs" section of the Elisp manual (21.1 +)
GI
PS: Thanks to all who promptly responded to my query about compiling a light emacs. The prompt and helpful emails was much appriciated.
On Wed, Sep 25, 2002 at 11:47:59AM -0400, Javier Oviedo wrote:
> Hello all:
>
> I have a relatively small site-lisp directory, holding about 20 files.
>
> Does Byte compiling those files improve performance in any noticeable way?
>
> Thanks in advance!
>
>
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-09-26 19:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-25 15:47 To Byte Compile or not Byte Compile...that is the question Javier Oviedo
2002-09-25 17:54 ` Barry Margolin
2002-09-26 7:51 ` Klaus Berndl
2002-09-26 19:40 ` GI
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).