- Notifications
You must be signed in to change notification settings - Fork5.2k
Use RandomAccess/File.OpenHandle in a few more places#55150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ghost commentedJul 4, 2021
Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsPlaces where we don't need to pay for the FileStream and the access pattern is easily replaced.
|
stephentoub commentedJul 4, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
This fails because of MS_IO_REDIST, and it's too annoying to use ifdefs everywhere for it. We should really consider stopping building this package. cc:@adamsitnik |
stephentoub commentedJul 4, 2021
Updated with undos for the File changes that would have required large ifdefs. |
adamsitnik commentedJul 5, 2021
We plan to reevaluate this package for .NET 7 and hopefully remove it#54919 (comment) cc@jeffhandley |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
adamsitnik left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM, I hope that you enjoyed using the new APIs ;)
src/libraries/System.Private.CoreLib/src/System/IO/FileSystem.Unix.cs OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Places where we don't need to pay for the FileStream and the access pattern is easily replaced.
Places where we don't need to pay for the FileStream and the access pattern is easily replaced.