[Numpy-discussion] size_t or npy_intp?
Tue Jul 27 08:08:41 CDT 2010
I'm a bit confused on which datatype should I use when referring to NumPy
ndarray lengths. In one hand I'd use `size_t` that is the canonical way to
refer to lengths of memory blocks. In the other hand, `npy_intp` seems the
standard data type used in NumPy for this.
Which one would you recommend to use in NumPy extensions?
More information about the NumPy-Discussion