This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Compiling multidimensional arrays
- From: Charles Turner <chturne at gmail dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: Kawa mailing list <kawa at sourceware dot org>
- Date: Tue, 17 Sep 2013 05:48:16 +0100
- Subject: Re: Compiling multidimensional arrays
- Authentication-results: sourceware.org; auth=none
- References: <CAPMhJv2u5e-8NeWMUgdcTqSYbajy4J0EfQY66xJadx62pH4=0A at mail dot gmail dot com> <5237D160 dot 4080309 at bothner dot com>
On 17 September 2013 04:49, Per Bothner <per@bothner.com> wrote:
> I checked in a fix so the logic makes sense, though multianewarray
> is only used when dims > 1 - which doesn't happen in the Kawa codebase.
> I also noted in the comment that the dims>1 case isn't tested ...
I also noted it can't have been tested due to dims always being 1.
Seems like the length: parameter should take a list of dimensions in
addition to the current behaviour, mirroring CL's MAKE-ARRAY, but that
seems wildly low priority (as you say) given SRFI-25 support.