From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Zhu Zihao Newsgroups: gmane.emacs.devel Subject: Re: named-let Date: Mon, 11 Jan 2021 02:49:54 +0800 Message-ID: <86zh1g62zx.fsf@163.com> References: <87im86kub6.fsf@logand.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37878"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1 Cc: Stefan Monnier , emacs-devel@gnu.org To: Tomas Hlavaty Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 10 20:07:00 2021 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 1kyg3G-0009hb-Ry for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jan 2021 20:06:58 +0100 Original-Received: from localhost ([::1]:36448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyg3F-0006Ly-NC for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jan 2021 14:06:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyg24-0005MM-0S for emacs-devel@gnu.org; Sun, 10 Jan 2021 14:05:44 -0500 Original-Received: from m12-18.163.com ([220.181.12.18]:33667) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kyg1v-0001rh-MW for emacs-devel@gnu.org; Sun, 10 Jan 2021 14:05:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=Lkdo+ FfWAt9P+SZ883eHnLbfFIYcg/fc3SPGcGnYrLo=; b=JQtkEGJwwfcmGJUEkHKIp vnD4+ZcLfPX2GboUM1ARE6i/mh/OQJ0UruLUot0EtbksgDl/+YIGgPWaTDBtsIjO i0r1UrR1O42Cj5H7HH6lPOgSfpbakAVFzwsj3B6AcaVJVPhsfHzxN1Z9o/lFCQ8n lxyBNzlfYyxvvcGhu1JOTU= Original-Received: from asus-laptop (unknown [113.100.122.53]) by smtp14 (Coremail) with SMTP id EsCowACXv4NVTPtfHMDuOQ--.57034S2; Mon, 11 Jan 2021 02:49:58 +0800 (CST) In-reply-to: <87im86kub6.fsf@logand.com> X-CM-TRANSID: EsCowACXv4NVTPtfHMDuOQ--.57034S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUOJ5rUUUUU X-Originating-IP: [113.100.122.53] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/1tbitBYWr1SIkCbgRwAAsW Received-SPF: pass client-ip=220.181.12.18; envelope-from=all_but_last@163.com; helo=m12-18.163.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_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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:262877 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tomas Hlavaty writes: >> But with the recent tail-call optimization I installed into `master`, >> the above `my-length` now works without eating up stack space. > > That's great news. > > Is TCO always used (like in Scheme) or in which cases is it used or not > used? Is it possible to turn it on or off? I think the advice mechanism prevent us to do optimization like TCO and auto inlining. =2D-=20 Retrieve my PGP public key: gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F Zihao --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQTUepyLKuOQW1Y9kTW+QrNSqfaCHwUCX/tMUhUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQvkKzUqn2gh/nGQEAhyJ/TtP0E5KUL2GAR2iuxjZoXmhK wyyP/HKq1aCidpUBAIAb1VHREgj9ECgo8AKitkb+7AdWenetQv9e/ZtkPDsG =lht4 -----END PGP SIGNATURE----- --=-=-=--