bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#4287: reducing emacs size by more frequent garbage-collect calls in


From: Eli Zaretskii
Subject: bug#4287: reducing emacs size by more frequent garbage-collect calls in loadup.el
Date: Sun, 30 Aug 2009 21:00:33 +0300

> Date: Sat, 29 Aug 2009 23:09:10 -0700 (PDT)
> From: Dan Nicolaescu <address@hidden>
> Cc: address@hidden
> 
> --- loadup.el.~1.180.~        2009-08-20 23:31:53.000000000 -0700
> +++ loadup.el 2009-08-29 23:02:34.000000000 -0700
> @@ -57,30 +57,49 @@
>  (setq buffer-undo-list t)
>  
>  (load "emacs-lisp/byte-run")
> +(garbage-collect)
>  (load "emacs-lisp/backquote")
> +(garbage-collect)
>  (load "subr")
> +(garbage-collect)
>  
>  ;; We specify .el in case someone compiled version.el by mistake.
>  (load "version.el")
> +(garbage-collect)

Perhaps a new function `load-and-gc' would be a good idea.





reply via email to

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