Ken Raeburn <raeb...@raeburn.org> writes:

> On Feb 12, 2011, at 06:55, Andy Wingo wrote:
>> Regarding multiple values: instead of unpacking values objects (ugh),
>> can you instead make versions of _divide that return two values
>> directly, as output arguments?
>
> Or maybe a function returning a struct of two SCM fields (or a single
> array-of-2 field)?

I believe the main motivation for avoiding values objects is to avoid
heap allocation, which your idea would also require.

    Best,
     Mark

Reply via email to