[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] New division operators, and optimization for fractions
From: |
Mark H Weaver |
Subject: |
Re: [PATCH] New division operators, and optimization for fractions |
Date: |
Mon, 14 Feb 2011 13:17:32 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Ken Raeburn <address@hidden> 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