[Cython] a warning on using string/buffer objects for getting tmp memory
Lisandro Dalcin
dalcinl at gmail.com
Sun Apr 13 01:09:36 CEST 2008
I've just realized that using a string or buffer object for automatic
management of memory as I proposed has a pitfall: memory alignement is
not guaranteed.
So perhaps the only way to go is with this trick is to use a custom
python object internally calling malloc/free.
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
More information about the Cython-dev
mailing list