[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] R7RS delay/force/delay-force
From: |
Evan Hanson |
Subject: |
Re: [Chicken-hackers] [PATCH] R7RS delay/force/delay-force |
Date: |
Sun, 3 Nov 2013 11:49:15 +1300 |
User-agent: |
OpenSMTPD enqueuer (Demoosh) |
On 2013-11-02 21:10, "Jörg F. Wittenberger" wrote:
> deconstructing the zero-value case as a special case but handling the
> one-valued case using the generic multiple value procedure C_values,
> which is according to my understanding less efficient - hence it would
> have been better to handle the one-value case special...
FWIW, that was purely to allow checking for forced values without
incurring the cost of `list?`. It might be good to add a special case
for single values, too; that was just more code, so I didn't.
I don't have an opinion on the question of threads, but do think
supporting MVs "properly" (i.e. without pushing it onto the user) is a
Good Thing.
Evan