From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH v2 00/16] Speeding up DEFVAR_PER_BUFFER Date: Tue, 01 Dec 2020 10:56:53 -0500 Message-ID: References: <20201119153814.17541-1-sbaugh@catern.com> <837dqdxtea.fsf@gnu.org> <87a6v9jqz8.fsf@catern.com> <83y2itwbzk.fsf@gnu.org> <87ft4shxg8.fsf@catern.com> <835z5mk84w.fsf@gnu.org> <87y2iihafg.fsf@catern.com> <83o8jdiml4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38376"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: sbaugh@catern.com, arnold@tdrhq.com, dgutov@yandex.ru, rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 01 16:57:49 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 1kk82H-0009tv-0e for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Dec 2020 16:57:49 +0100 Original-Received: from localhost ([::1]:49298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kk82F-0003MK-UI for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Dec 2020 10:57:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk81U-0002r7-QH for emacs-devel@gnu.org; Tue, 01 Dec 2020 10:57:00 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:5179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk81S-0007fJ-4g; Tue, 01 Dec 2020 10:56:59 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id EAD33100916; Tue, 1 Dec 2020 10:56:55 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 792BF1001D2; Tue, 1 Dec 2020 10:56:54 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1606838214; bh=wTY8BsqfZ5e7EEtig3S16fk7hDH8eeMMX2KpQ0mw9fc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=LzmclNQDqTjGiQTRxsIwBvw0u6rtuyW797MQ7FIogRIatB6A11P1IOA9kkeunGl0C ylnis2ITQ7beAZV7KNXL+H+qPUh4ZG/293QrE5EP3lk+CyaxAL61YbpIr81Sihpgre bdGxV0TJe0ARXhLGJMA0Z37TrifNnd/NtL/hsx4rTpiYgghNN7hLt8TVWuUfeRcRgt CeReTgeh7yrrBlgTbuHNSVXjswMQ+4N7XxXh4oSjxExtPYhX6bgHk6JDQfEyovJgcj G3jLzX7ayV+98GTBgPuyvxUn5Byfx3nHMPLVVSPCMF8vv2m5GRapGJibYy6dLsqK7K 2Iv+En9Qu6hJA== Original-Received: from alfajor (69-165-136-52.dsl.teksavvy.com [69.165.136.52]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2951D12031F; Tue, 1 Dec 2020 10:56:54 -0500 (EST) In-Reply-To: <83o8jdiml4.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 01 Dec 2020 17:15:51 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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.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:260129 Archived-At: > I think that could open a can of worms, whereby fun things can happen > if some Lisp removes the local bindings from one of these variables. I doubt this would be a can of worms, but yes this may introduce regressions. Based on my experiments, these should be very rare, so the downside is pretty small and in the long run it's probably worthwhile. This said, the upside is also pretty small, so you have to look fairly far into the future before such a change becomes worthwhile. Stefan