unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mattias Engdegård" <mattiase@acm.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: master 68c09c6: Better CPS conversion of multi-binding `let`
Date: Tue, 30 Nov 2021 14:49:36 +0100	[thread overview]
Message-ID: <9202FA8C-5AE4-4638-A3AA-29C7FA733BA6@acm.org> (raw)
In-Reply-To: <jwvwnkpkbis.fsf-monnier+emacs@gnu.org>

30 nov. 2021 kl. 14.42 skrev Stefan Monnier <monnier@iro.umontreal.ca>:

>    (let ((x1 e1) ... (xN eN))
>      BODY)
> 
> into
> 
>    (let* ((t1 e1) ... (tN-1 eN-1) (xN eN) (x1 t1) .. (xN-1 tN-1))
>      BODY)

Sorry, I should have read your original comment more carefully; I thought you meant some way of eliminating more than one temporary. Yes, that's probably a good idea. I'll see what I can do.

(That function, cps--transform-1, suffers severely from our lack of TCO by the way.)




  reply	other threads:[~2021-11-30 13:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211130120404.23495.29099@vcs0.savannah.gnu.org>
     [not found] ` <20211130120405.6C5F4209FD@vcs0.savannah.gnu.org>
2021-11-30 13:19   ` master 68c09c6: Better CPS conversion of multi-binding `let` Stefan Monnier
2021-11-30 13:30     ` Mattias Engdegård
2021-11-30 13:42       ` Stefan Monnier
2021-11-30 13:49         ` Mattias Engdegård [this message]
2021-11-30 13:54           ` Stefan Monnier
2021-11-30 14:11             ` Mattias Engdegård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9202FA8C-5AE4-4638-A3AA-29C7FA733BA6@acm.org \
    --to=mattiase@acm.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).