You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ported UnmanagedMemoryBlock and ArraySlice to use long in commit 539683f .
Next is to port Shape to use long and all the algorithms with it. Mainly refactoring job
Done via the int→long rewrite (#596, in 0.70.0#628). The int/IntPtr allocation cap is gone: Shape size/dimensions/strides/offset are long (npy_intp parity) and the sort/select core is 64-bit, so arrays past int.MaxValue elements work:
vara=np.arange(6).reshape(2,3);Console.WriteLine(string.Join(",",a.strides));// 24,8 (bytes per axis, npy_intp)
The >2 GB / >int.MaxValue paths are gated by the [HighMemory]NpyLargeFileTests and a >int.MaxValue byte oracle. Closing.
Activity
Nucs commentedon Aug 8, 2019
Unit test
Nucs commentedon Aug 12, 2019
Ported UnmanagedMemoryBlock and ArraySlice to use long in commit 539683f .
Next is to port Shape to use long and all the algorithms with it. Mainly refactoring job
Nucs commentedon Sep 7, 2026
Done via the int→long rewrite (#596, in 0.70.0 #628). The
int/IntPtrallocation cap is gone:Shapesize/dimensions/strides/offset arelong(npy_intpparity) and the sort/select core is 64-bit, so arrays pastint.MaxValueelements work:The >2 GB / >int.MaxValue paths are gated by the
[HighMemory]NpyLargeFileTestsand a >int.MaxValue byte oracle. Closing.