From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Indentation and gc Date: Fri, 10 Mar 2023 12:07:47 +0100 Message-ID: <20230310110747.4hytasakomvdyf7i@Ergus> References: <20230310110747.4hytasakomvdyf7i.ref@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14214"; mail-complaints-to="usenet@ciao.gmane.io" To: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 10 12:08:53 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1paacG-0003Y4-Vv for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Mar 2023 12:08:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paabR-0000kM-PK; Fri, 10 Mar 2023 06:08:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paabP-0000kC-Vk for emacs-devel@gnu.org; Fri, 10 Mar 2023 06:08:00 -0500 Original-Received: from sonic308-1.consmr.mail.bf2.yahoo.com ([74.6.130.40]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paabN-0004lI-TT for emacs-devel@gnu.org; Fri, 10 Mar 2023 06:07:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1678446474; bh=pU7Yq63i88qFbAT3W57gOxLBvcFLwV3vGXyMYhnMtUE=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=GrMB9nd4BWcVQ9W3kAhlf493VcQMBiYmiQCaDj/knZpy4d3qtwKP82t5oYzLbpIju7GUitLcwCUQTfShEA8jEQ2UUkkEF/i7GVpMdTg/qAt8XRykKm2IbQPoDt1k/S3HEf3zS1PVWCle4milK/aNfIVw4fNd1Vv83+hadfCSHfYU4CZ/Ex8IVr4LBEa/WYXpM5WKTZQMOvjiAoFyBLoQ9+42GzgmHvVyoAHDCQFq+kPLa3tbeVsqVonSBAq7TPULc6FipPQWZlTgmzlI1Mccpjhnr0EBlEkaiTTdT+i+FMFwORylwyyi/4LyX6tyMHnLvHF0w3yKwetcFTsO1sk3Nw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678446474; bh=kLLJ1KVn2xKhr9W2b/dCpxp97w2ia+EeFJQq4VjecG9=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=FiWj0u7fjswqCq/nDdE8PrekcVpzc/jCePNGgv7qGNJ9hykyc9vBRNFXDl3m+5MZm43H5W/u09+Fyt4b2I8ikxnTEAwRmTJyslF0lYwnS82fH1YLijz+TFJoY2Bc1V36meyM3j6KTF3YxyayCngBcglFwr8ZuAuAzaLloY8/qKknRdoPki8Vbr1yQy4nc92jecISlv/4NUeyZnsiF4zOv+ZT/6RU+R+buUGm+d1aqHBUwMzUBLxLP0hikHMze9FvtkUmPx2m3uKTb+PUbB17JCqDfYCZmuVeIKuZ3+ovJr75SUGnKpa9+LsIPiL8atwm1bxkIvxRLTU15P7+FhGzlw== X-YMail-OSG: Be2tVLkVM1muJ4ehsE4ixn03WRUf3ap8CJqRRbx83ygHSWFSCoBffXYARb722yP II0z8MeNvBukW4umvRBdUUkjCywt1n6KMw4fR.KLaNFUMSu1Em7hmU8yLHBXrWcViIQvG8_5KQLT PmPI5AWoDddkCtM9f4lm0aHezf9up042KtcmGaZnQ.Hb2yzq.BzH1b4OSeT7H52GThpJk9hBo77x Mxw_B97GTYJDrBWxyRA_TKEMN1_5RCbUGw0PiqU6Ncs1QZAfR_K3hGI4cWtcr9C1.2cqIZt44PLE PAb0XA1BY7lUaFxdis0OIzrXJOqs_Vl0r59wXAF3lU1W9sEDL7opDOtx8j5jAnDyz2RGI14ZaBxv yrOLuXaA._pCONMHb_TPkRCjsU_SQ8h7po3bJaIhij4bNaR4B7cKQCi9UligAUdcOPp3yRmdhfMN Fe222GHK.9vi5ZZNi3YghuCWYTHm4uSxze2I.PR0kR9zOMRgSpN3Xvt05EW1D2aXb5Dfe7CIl8q6 bsea4GwjAoE8x_F77G5rLyQYGJ1fD5gWdqSiKqZHb96_2VObrFYjdrQ_iEXgVS7lcAcLkc5CmPJl .XYA2YeGSr6iSRGEEwC7Nw8.MWiM4xatVu0YiWrgMYaAIouWyDVXQJjpcyqh_7cyvpnaYeT6GwA5 7Bztd3nGsP9HYMdHmgcrefeHG1.WHAOgEhTLJblP.1TH7Ubw8NcBUu6OMIDvY85C7goyRsq5ZAIo 7.fdG0PFlbGyXj9WNPDUMUGiwjJ9HLlTTM7WGUrl29oxhj14xIpTpSsehNBMHK4JdUtUCUwPxKoQ prTxAh2Zuvt0kI7pAwYB.JPKHQ7VTAGNnWFX9vNBcF X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.bf2.yahoo.com with HTTP; Fri, 10 Mar 2023 11:07:54 +0000 Original-Received: by hermes--production-ir2-5b7d458747-d7m6v (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3fc7acd10700c4e9938bc6b5f437b154; Fri, 10 Mar 2023 11:07:49 +0000 (UTC) Content-Disposition: inline X-Mailer: WebService/1.1.21284 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.130.40; envelope-from=spacibba@aol.com; helo=sonic308-1.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304235 Archived-At: Hi: Just today I enabled the garbage-collection-messages and I found that indenting the buffer with `C-x h ` 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? 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? Best, Ergus