GNU bug report logs - #79021
31.0.50; Unnecessary GC in after-load-functions

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Mon, 14 Jul 2025 20:05:02 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Helmut Eller <eller.helmut <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 31.0.50; Unnecessary GC in after-load-functions
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.




This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.