Subject: bug#79021: 31.0.50; Unnecessary GC in after-load-functions

From: Eli Zaretskii <[email-masked]>
Date: Tue, 15 Jul 2025 05:30:40 +0300

> From: Helmut Eller <[email-masked]>
> Date: Mon, 14 Jul 2025 22:04:18 +0200
> 
> In loadup.el there is this:
> 
>   (add-hook 'after-load-functions (lambda (_) (garbage-collect)))
> 
> What's this for?  It seems unnecessary.
> 
> It would be nice to remove this, because without it the time to execute
> loadup.el goes down from 13 seconds to 6.

I presume this is because we don't want to dump any garbage.

Stefan?