chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] multiple values in chicken


From: felix winkelmann
Subject: Re: [Chicken-users] multiple values in chicken
Date: Fri, 1 Feb 2008 12:30:49 +0100

On Feb 1, 2008 9:12 AM, Jörg F. Wittenberger
>
> What I'm wandering about: if the multiple value implementation in
> chicken is slow, why not change it?  A distinguished data type for
> multiple values some magic (details of which I can't judge about right
> now) to hide the manual deconstruction.
>

Multiple values involve more checking that returning an explicit
data structure, because the receiving continuation may or may
not be multiple-value aware. Returning a single result from a function
is a more fundamental operation than handling multiple-value
continuations, so will always be faster.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]