[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: propose deprecation of generalized-vector-*
From: |
Andy Wingo |
Subject: |
Re: propose deprecation of generalized-vector-* |
Date: |
Mon, 18 Feb 2013 16:40:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Hi Daniel,
On Wed 23 Jan 2013 10:06, Andy Wingo <address@hidden> writes:
> On Tue 22 Jan 2013 15:31, Daniel Llorens <address@hidden> writes:
>
>> On Jan 21, 2013, at 17:11, Andy Wingo wrote:
>>
>> The patch attached applies over yours and is to document this function
>> and a couple others in the manual.
>
> Thanks, applied and pushed to wip-generalized-vectors.
I'll merge this branch shortly, as there have been no objections.
>> Maybe we should have scm_array_ref_1, scm_array_ref_2, etc. as it is
>> done for some other functions taking rest lists. I can write a patch
>> for that.
>
> For C, that makes sense. Something should be done for Scheme as well,
> but it's not terribly urgent. Perhaps make scm_array_ref not be bound
> to "array-ref", and instead bind "array-ref" to some function that takes
> two optional arguments and a rest argument. A poor man's case-lambda...
I have implemented this in stable-2.0. It should speed up array
operations from Scheme significantly.
Andy
--
http://wingolog.org/
- Re: propose deprecation of generalized-vector-*,
Andy Wingo <=
Problems with 'number->string' (was Re: propose deprecation of generalized-vector-*), Mark H Weaver, 2013/02/18
Re: propose deprecation of generalized-vector-*, Daniel Llorens, 2013/02/20