Allocate SIMPLE-ARRAYs in static memory
Common Lisp
Latest commit eddb4e9 Jan 10, 2017 @sionescu Release 1.8.2
Failed to load latest commit information.
src Proper fix for change of SBCL internals Jan 10, 2017
tests Release 1.8 Sep 13, 2016
.travis.yml Switch to sionescu/cl-travis Jul 22, 2015
LICENCE Fix licence year Dec 5, 2011
README Add use notes May 18, 2010
static-vectors.asd Upgrade ASDF requirement to 3.1 Nov 19, 2015
version.sexp Release 1.8.2 Jan 11, 2017


                           A few use notes

CAVEAT: On some implementations, the GC takes care of deallocating the
arrays, while on others they need to be deallocated explicitly;
therefore, in order to make sure that deallocation works on all
implementations, you must use FREE-STATIC-VECTOR and make sure that
all references to the array are destroyed.

Furthermore, you can only allocate simple-arrays - not arrays of
element-type T and not multidimensional arrays. For use in the latter case,
you can displace a multidimensional array to a simple-array of element-type.

This library is especially useful in cases when you need to share an
array with a C/C++/Fortran library, as long as the allocation is done
on the Lisp side: e.g. as buffer for an I/O stream, et cætera...