npy_intp is the indexer used by NumPy. Officially, the fastest C type to use as offset to a pointer is int. But on amd64, that is a 32-bit integer, and there is hardly any punity from using a 64-bit offset instead.