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


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to