From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Redisplay slower in Emacs 28 than Emacs 27 Date: Mon, 07 Dec 2020 21:26:18 +0200 Message-ID: <837dpt8lk5.fsf@gnu.org> References: <877dptiro7.fsf@gnus.org> <87pn3lhcdd.fsf@gnus.org> <878sa9hbe2.fsf@gnus.org> <877dptfvae.fsf@gnus.org> <83czzl8qwu.fsf@gnu.org> <87sg8h78s8.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22271"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ghe@sdf.org, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 07 20:27:48 2020 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 1kmMAm-0005gA-72 for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Dec 2020 20:27:48 +0100 Original-Received: from localhost ([::1]:35604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmMAl-0001DI-5B for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Dec 2020 14:27:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmM9Y-0000iu-FT for emacs-devel@gnu.org; Mon, 07 Dec 2020 14:26:32 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34290) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmM9Y-0003Lo-0Q; Mon, 07 Dec 2020 14:26:32 -0500 Original-Received: from [176.228.60.248] (port=3572 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kmM9T-0005WG-G5; Mon, 07 Dec 2020 14:26:30 -0500 In-Reply-To: <87sg8h78s8.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 07 Dec 2020 19:47:35 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:260511 Archived-At: > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , emacs-devel@gnu.org > Date: Mon, 07 Dec 2020 19:47:35 +0100 > > Would it be possible for you to run the benchmarks on the current trunk, > with and without that "!"? Because I just don't understand why > disabling the image cache would make Emacs slower. Btw, there could be a way to speed up equal_lists, I think. It compares image specs, not just any 2 lists, right? An image spec always starts with the symbol 'image'. So it should be enough to compare only the list members starting from the second one. The image specs of the tool-bar buttons have 9 members, so this might yield an 11% speedup.