emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: garbage-collect not called for .el files in loadup.el


From: Stefan Monnier
Subject: Re: garbage-collect not called for .el files in loadup.el
Date: Wed, 04 Nov 2009 00:05:02 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>> > As the subject says, GC is not done after loading .el files in
>> > loadup.el, only .elc files.
>> What difference does it make in practice?
> More garbage is produced before gc, so the memory layout is worse.

That's obvious, but that doesn't tell me "what difference does it make
in practice?".

>> > -      (unless purify-flag
>> > +      (if purify-flag
>> > +        (run-hook-with-args 'after-load-functions fullname)
>> >         (do-after-load-evaluation fullname))
>> 
>> Nope, sorry, that's ugly.  You can simply remove the `unless
>> purify-flag' on the other hand, since Fload calls
>> do-after-load-evaluation unconditionally.

> Not when using `load-source-file-function':

That's not what I meant.  I meant that Fload doesn't check purify-flag
before calling do-after-load-evaluation.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]