[Numpy-discussion] Accessing irregular sized array data from C
Sturla Molden
sturla.molden at gmail.com
Wed Jul 2 15:12:17 EDT 2014
Julian Taylor <jtaylor.debian at googlemail.com> wrote:
> another thing, don't use int as the index to the array, use npy_intp
> which is large enough to also index arrays > 4GB if the platform
> supports it.
With double* a 32-bit int can index 16 GB, a 32-bit unsigned int can index
32 GB.
With char* a 32-bit int can only index 2 GB.
Sturla
More information about the NumPy-Discussion
mailing list