I've seen a cython code with cdef function that uses a temporary array
cdef void some_funct (int* OUT, int size, int const_val) nogil:
cdef:
int blah.. blah...blah...
float out_tmp[8]
for i in range(64):
.....
..... out_tmp is involved somehow as intermediate array
What is out_tmp ? Is it a vector? a C++ array? a pointer? Do I need to remove/delete or deallocate it before exiting cdef function or cython will do that automatically? If need to manually clean, how to remove/delete/deallocate?
Thank you.