Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use RandomAccess/File.OpenHandle in a few more places #55150

Merged
merged 1 commit into from
Jul 9, 2021

Conversation

stephentoub
Copy link
Member

Places where we don't need to pay for the FileStream and the access pattern is easily replaced.

@ghost
Copy link

ghost commented Jul 4, 2021

Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.

Issue Details

Places where we don't need to pay for the FileStream and the access pattern is easily replaced.

Author: stephentoub
Assignees: -
Labels:

area-System.IO

Milestone: -

@stephentoub
Copy link
Member Author

stephentoub commented Jul 4, 2021

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
Copy link
Member Author

Updated with undos for the File changes that would have required large ifdefs.

@adamsitnik
Copy link
Member

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.

We plan to reevaluate this package for .NET 7 and hopefully remove it #54919 (comment) cc @jeffhandley

Copy link
Member

@adamsitnik adamsitnik left a 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 ;)

Places where we don't need to pay for the FileStream and the access pattern is easily replaced.
@stephentoub stephentoub merged commit fe9005f into dotnet:main Jul 9, 2021
@stephentoub stephentoub deleted the morehandle branch July 9, 2021 23:47
@ghost ghost locked as resolved and limited conversation to collaborators Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants