[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indentation and gc
From: |
Eli Zaretskii |
Subject: |
Re: Indentation and gc |
Date: |
Fri, 10 Mar 2023 16:54:14 +0200 |
> From: "Dr. Arne Babenhauserheide" <arne_bab@web.de>
> Cc: emacs-devel@gnu.org
> Date: Fri, 10 Mar 2023 15:36:06 +0100
>
> I have these set in my .emacs.d/init.el
>
> ;; at the start:
>
> ;; Make startup faster by reducing the frequency of garbage
> ;; collection. The default is 800 kilobytes. Measured in bytes.
> (setq gc-cons-threshold (* 100 1024 1024))
>
>
> ;; at the end:
>
> ;; Make gc pauses faster by decreasing the threshold again (from the
> increased initial).
> (setq gc-cons-threshold (* 20 1024 1024))
> ;; original value: 800 000
>
> ;; speed up reading from external processes
> (setq read-process-output-max (* 1024 1024)) ;; 1mb
This can only be done around specific portions of code known in
advance to be long and GC-intensive. I don't think this kind of
technique can be used in the situation described by the OP.
- Indentation and gc, Ergus, 2023/03/10
- Re: Indentation and gc, Dr. Arne Babenhauserheide, 2023/03/10
- Re: Indentation and gc,
Eli Zaretskii <=
- Re: Indentation and gc, Dr. Arne Babenhauserheide, 2023/03/10
- Re: Indentation and gc, Eli Zaretskii, 2023/03/11
- Re: Indentation and gc, Dr. Arne Babenhauserheide, 2023/03/11
- Re: Indentation and gc, Eli Zaretskii, 2023/03/11
- Re: Indentation and gc, Dr. Arne Babenhauserheide, 2023/03/11
- Re: Indentation and gc, Eli Zaretskii, 2023/03/11
- Re: Indentation and gc, Ihor Radchenko, 2023/03/11
- Re: Indentation and gc, Eli Zaretskii, 2023/03/11
- Re: Indentation and gc, Ihor Radchenko, 2023/03/11
- Re: Indentation and gc, Eli Zaretskii, 2023/03/11