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
As a follow up to this change, override ReadAtLeastAsyncCore on StreamPipeReader. This implementation should loop in place until the the amount of buffered bytes is >= the minimumSize. There might also be an opportunity to increase the segment size based on the minimumSize. For example:
Normally, this would return 4 4K buffers, but we could choose here to allocate a single 16K segment. Obviously we don't want to allocate large segments we can cap the buffer at some maximum size.
The text was updated successfully, but these errors were encountered:
Description
As a follow up to this change, override
ReadAtLeastAsyncCore
onStreamPipeReader
. This implementation should loop in place until the the amount of buffered bytes is >= the minimumSize. There might also be an opportunity to increase the segment size based on the minimumSize. For example:Normally, this would return 4 4K buffers, but we could choose here to allocate a single 16K segment. Obviously we don't want to allocate large segments we can cap the buffer at some maximum size.
The text was updated successfully, but these errors were encountered: