[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sbcl-help
Subject:    Re: [Sbcl-help] high-performance access to arrays
From:       rif <rif () MIT ! EDU>
Date:       2007-04-28 14:49:58
Message-ID: 200704281449.l3SEnwJv019760 () five-percent-nation ! mit ! edu
[Download RAW message or body]


> 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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sbcl-help mailing list
Sbcl-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic