emacs-devel
[Top][All Lists]
Advanced

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

Re: Indentation and gc


From: Emanuel Berg
Subject: Re: Indentation and gc
Date: Tue, 21 Mar 2023 08:27:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Jean Louis wrote:

>> Just today I enabled the garbage-collection-messages and
>> I found that indenting the buffer with `C-x h <tab>` in
>> just ~150 C++ lines I get the garbage-collection message
>> printed about 4 or 5 times before the indentation finishes.
>
> Sure, I have `garbage-collection-messages' turned on all the
> time, and gc is engaged too many times, giving me feeling it
> is blocking the execution more than it is helping. But my
> feeling may not be fact.

(setq garbage-collection-messages nil)
(setq gc-cons-threshold 3000000)

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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