From: rif <rif@MIT.EDU> - 2007-04-28 14:59:30
|
> I'm looking for the most high-performance access to 1D and 2D arrays in > SBCL. The operations I am interested in are: arbitrary access to any > cell, copying of fragments (lines or rectangles) from one array to > another and transferring the data to a foreign functions (which, as I > expect, can be made by allocating a foreign array and copying the data > into it). The arrays contain bytes/dwords/floating-point > numbers/structures. So I suppose that in each case SBCL would be able to > allocate a single chunk of memory with all the objects in-lined. Note that as far as I know, there is no way to get SBCL to allocate an array of structures "in line". You will get an array of pointers to structures. Numbers are a different story. rif |