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
(ReadOnly)Span<T> is limited to int.MaxValue amout of entries. For all intents and purposes this is fine but is bound to break on files larger than 2GB. The alternative here is to instead use (ReadOnly)Sequence<T>, but this introduces the need for special care across individual span boundaries.
Normally this is also a non-issue because TACT || CASC files are not larger than 2 GB, but this is something to keep in mind for the future.
The general consensus would be to use ReadOnlySequenceAccessor and work off the sequence, trying to abstract away the span boundaries.
Uh oh!
There was an error while loading. Please reload this page.
(ReadOnly)Span<T>
is limited toint.MaxValue
amout of entries. For all intents and purposes this is fine but is bound to break on files larger than 2GB. The alternative here is to instead use(ReadOnly)Sequence<T>
, but this introduces the need for special care across individual span boundaries.Normally this is also a non-issue because
TACT || CASC
files are not larger than 2 GB, but this is something to keep in mind for the future.The general consensus would be to use ReadOnlySequenceAccessor and work off the sequence, trying to abstract away the span boundaries.
References:
The text was updated successfully, but these errors were encountered: