-
-
Notifications
You must be signed in to change notification settings - Fork 888
Closed
Milestone
Description
Currently our images and internal buffers are limited to Int32.MaxValue
size, ArgumentOutOfRange
exception is thrown when a code attempts to allocate a larger buffer.
The most robust way to overcome this limitation would be enabling discontinuous buffers in our memory management, by adapting defining a writable memory sequence primitive. EDIT: ReadOnlySequence<T>
ReadOnlySequence<T>
is not the way to go, it's purpose is completely different.
This is a breaking change, so we really need to know how many users are interested in this use case, before commiting ourself. If you are one of them, please let us know about your use case in comments! (Platform, purpose of application etc.)