emacs-devel
[Top][All Lists]
Advanced

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

Re: Indentation and gc


From: Ergus
Subject: Re: Indentation and gc
Date: Fri, 10 Mar 2023 22:30:42 +0100


On March 10, 2023 3:52:29 PM GMT+01:00, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Fri, 10 Mar 2023 12:07:47 +0100
>> From: Ergus <spacibba@aol.com>
>> 
>> 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.
>> 
>> So, two questions:
>> 
>> 1) Is this intended? if so, what's the reason? the indentation code is
>> forcing gc or is it generating too much garbage?
>
>The latter.
>
>> 2) IF it doesn't impact performance... Is it possible somehow to improve
>> the gc message to have more useful information; or at least; to control
>> the no-log in order to have some outputs in the *Message* buffer?
>
>How will a more detailed GC message help?
>

Hi,

I explained wrongly. These were somehow two almost independent questions. The 
more detailed GC and having a logging alternative are useful for debugging 
purposes. Because (for example) I don't know exactly how many GC were executed 
during the indentation.

So they are related but not directly.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


reply via email to

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