[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 68c09c6: Better CPS conversion of multi-binding `let`
From: |
Mattias Engdegård |
Subject: |
Re: master 68c09c6: Better CPS conversion of multi-binding `let` |
Date: |
Tue, 30 Nov 2021 14:49:36 +0100 |
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.)