From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#65017: 29.1; Byte compiler interaction with cl-lib function objects, removes symbol-function Date: Fri, 4 Aug 2023 11:11:46 +0000 Message-ID: References: <8B08E514-B2D5-48F5-BA90-4F5A9492F8F9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22408"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65017@debbugs.gnu.org, Stefan Monnier , Eric Marsden To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 04 13:12:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qRsj8-0005bV-QE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Aug 2023 13:12:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRsiy-00076Q-Rg; Fri, 04 Aug 2023 07:12:04 -0400 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 1qRsiw-00073g-T4 for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 07:12:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qRsiw-0000m9-Kz for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 07:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qRsiw-0006gk-0q for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 07:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Aug 2023 11:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65017 X-GNU-PR-Package: emacs Original-Received: via spool by 65017-submit@debbugs.gnu.org id=B65017.169114751725701 (code B ref 65017); Fri, 04 Aug 2023 11:12:01 +0000 Original-Received: (at 65017) by debbugs.gnu.org; 4 Aug 2023 11:11:57 +0000 Original-Received: from localhost ([127.0.0.1]:53499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRsir-0006gT-9v for submit@debbugs.gnu.org; Fri, 04 Aug 2023 07:11:57 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]:50190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRsio-0006g9-T0 for 65017@debbugs.gnu.org; Fri, 04 Aug 2023 07:11:55 -0400 Original-Received: (qmail 10002 invoked by uid 3782); 4 Aug 2023 13:11:47 +0200 Original-Received: from acm.muc.de (pd953a874.dip0.t-ipconnect.de [217.83.168.116]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 04 Aug 2023 13:11:47 +0200 Original-Received: (qmail 6498 invoked by uid 1000); 4 Aug 2023 11:11:46 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266664 Archived-At: Hello, Mattias. On Fri, Aug 04, 2023 at 12:14:14 +0200, Mattias Engdegård wrote: > 3 aug. 2023 kl. 23.46 skrev Stefan Monnier : > > I'd even like it to try and replace uses of `eq/eql` with `equal` in > > those cases where we want to overlook differences in > > symbol-positions, so that we can eventually get rid of > > `symbols-with-pos-enabled` which I consider as a wart. > I agree it would be wonderful if we could restore `eq` to its former > simplicity and speed but is that easily achievable at this point? For > example, what about macros that compare arguments with `eq`? > Separate data structures for locations might be an option worth > exploring, keeping the actual s-expressions unadorned. Consider a > reader mode that also produces a table mapping cons cells read to their > locations, for example. Using a hash table, or something similar? This is all very well, but the garbage collecter, for every collected object, would have to check whether that object is in that table, and if so remove it. This would slow down garbage collection, possibly by a lot. The slow down would be less if there were a variable saying whether or not this table is active. Something very like symbols-with-pos-enabled. ;-) [ .... ] -- Alan Mackenzie (Nuremberg, Germany).