Manage calls to calloc/free through Cython
Manage calls to calloc/free through Cython
cymem$ python -c "import cymem; pool = cymem.Pool(); ptr = pool.alloc(10); print('Memory allocated')"$ cython -3 --cplus mymodule.pyx && python setup.py build_ext --inplace$ python -c "import cymem; print(cymem.__version__)"