[plt-scheme] Homogeneous vectors <-> c arrays ?
On Aug 30, Carlos Pita wrote:
> Hi all!
>
> I want to know if it's possible to pass srfi-4
> homogeneous vectors using mzc cffi facility.
Look at the Foreign library -- it talks about cvectors that are easy
to pass on to C code, and these are very similar to the srfi-4
homogeneous vectors (which are implemented by the same library).
> Similarly, if the extension api exposes homogeneous
> vectors to C world. Ah, and while at that, is there
> any optimization for heavy inner loops iterating over
> homogeneous arrays? For example, type unsafe
> accesors/setters for the specific vector element type.
No.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!