See Dybvig's paper on this issue (cons vs values). This is an SE-PL trade off. 


On Jan 6, 2015, at 7:05 PM, Benjamin Greenman wrote:

> From a practical point of view, at the low level the implementation is
> heavily optimized for functions that return exactly one value.
> Functions that return a different number of values are slower.
> 
> Does this mean I'm better off returning (cons a b) than (values a b)?
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users

____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to