Spans supporting pointer-sized sizes (e.g. 64 bit on 64 bit OS) #13533
Labels
area-System.Runtime
backlog-cleanup-candidate
An inactive issue that has been marked for automated closure.
enhancement
Product code improvement that does NOT require public API changes/additions
no-recent-activity
Milestone
This is very related to https://github.com/dotnet/coreclr/issues/23132 (but not the same).
Currently
Span
Length
is limited to just underInt32.MaxValue
.This is problematic when working on relatively large data, as we have to resort to working with raw pointers and unmanaged memory allocation to work with contiguous arrays of 2G+ elements.
To give a concrete example, from .NET I can't simply give TensorFlow 800_000 64x64 1-channel (channel==byte) images as a contiguous array.
The text was updated successfully, but these errors were encountered: