[Openmcl-devel] Coercing a vector of bytes to a heap ivector

Ron Garret ron at flownet.com
Tue Jan 13 12:48:16 PST 2015


That is exactly what I was looking for.  Thanks!

On Jan 13, 2015, at 12:24 PM, Stas Boukarev <stassats at gmail.com> wrote:

> Ron Garret <ron at flownet.com> writes:
> 
>> Is there any way to convert a (SIMPLE-ARRAY (UNSIGNED-BYTE 8) *) into
>> a heap-ivector without copying the data? I want to call some C code on
>> a large blob, and the copy is currently the limiting factor on
>> performance.
> CCL:WITH-POINTER-TO-IVECTOR?
> CFFI:WITH-POINTER-TO-VECTOR-DATA?
> 
> -- 
> With best regards, Stas.




More information about the Openmcl-devel mailing list