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

Stas Boukarev stassats at gmail.com
Tue Jan 13 12:24:54 PST 2015


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