From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "John Wiegley" Newsgroups: gmane.emacs.devel Subject: Re: Lexical binding: why? Date: Tue, 28 May 2019 08:19:48 -0700 Message-ID: References: <20190528100850.GA5296@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="95273"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (darwin) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 28 17:22:23 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hVdvi-000Obf-7K for ged-emacs-devel@m.gmane.org; Tue, 28 May 2019 17:22:22 +0200 Original-Received: from localhost ([127.0.0.1]:36680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVdvh-00005P-8n for ged-emacs-devel@m.gmane.org; Tue, 28 May 2019 11:22:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVdto-0007ZV-Ue for emacs-devel@gnu.org; Tue, 28 May 2019 11:20:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:32834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVdth-0006vF-6J; Tue, 28 May 2019 11:20:20 -0400 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:35307) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1hVdtM-0004LN-Dq; Tue, 28 May 2019 11:20:00 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id EEBC9223A2; Tue, 28 May 2019 11:19:55 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 28 May 2019 11:19:55 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddruddvhedgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujgffkfhffgggtgesthdtre dttdertdenucfhrhhomhepfdflohhhnhcuhghivghglhgvhidfuceojhhohhhnfiesghhn uhdrohhrgheqnecuffhomhgrihhnpehnvgifrghrthhishgrnhhsrdgtohhmnecukfhppe ejiedrvdefgedrieelrddugeelnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhhnhif odhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdeikeejkedtleeggedqudejje ehfeekudeiqdhjohhhnhifpeepghhnuhdrohhrghesnhgvfigrrhhtihhsrghnshdrtgho mhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Original-Received: from localhost (76-234-69-149.lightspeed.frokca.sbcglobal.net [76.234.69.149]) by mail.messagingengine.com (Postfix) with ESMTPA id 2974080064; Tue, 28 May 2019 11:19:55 -0400 (EDT) In-Reply-To: <20190528100850.GA5296@ACM> (Alan Mackenzie's message of "Tue, 28 May 2019 10:08:50 +0000") Mail-Followup-To: Alan Mackenzie , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237110 Archived-At: >>>>> "AM" == Alan Mackenzie writes: AM> I always thought the idea was to speed the SW up. Note that when I did performance benchmarking of the byte-code intrepreter, by far the slowest (and most frequent) operation was looking up dynamic variables. I have the sense that are many sexy optimizations we could do in this area, though I believe that work has not begun yet. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2