-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
Milestone
Description
P0
- Profile FileStream memory allocations using Visual Studio Memory Profiler
- get rid of the allocations (if there are any)
- use
IValueTaskSourcesuggestion from @stephentoub
P1
- investigate Avoid unnecessary allocations when using FileStream #15088
- investigate Use PreallocatedOverlapped when internal FileStream buffer isn't being used on Windows #25074
Most important is async IO (both buffering enabled and disabled) for overloads that use ValueTask. (@stephentoub please correct me if I am wrong)
Other aspects (sync read&write, seeking, setting length, position etc) are already non-allocating.