-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Minor File.ReadAllBytes* improvements #61519
Commits on Nov 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for eeb5e0b - Browse repository at this point
Copy the full SHA eeb5e0bView commit details -
use Array.MaxLength as a limit for File.ReadAllBytes and fix an edge …
…case bug for files: Array.MaxLength < Length < int.MaxValue
Configuration menu - View commit details
-
Copy full SHA for 87aaf3d - Browse repository at this point
Copy the full SHA 87aaf3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b6b22b - Browse repository at this point
Copy the full SHA 2b6b22bView commit details -
there is no gain of using FileOptions.SequentialScan, as it requires …
…an additional sys call on Unix and every OS is able to recognize the disk access patterns anyway
Configuration menu - View commit details
-
Copy full SHA for 39c2621 - Browse repository at this point
Copy the full SHA 39c2621View commit details
Commits on Nov 15, 2021
-
Update src/libraries/System.Private.CoreLib/src/System/IO/File.cs
Co-authored-by: Dan Moseley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29b6b8d - Browse repository at this point
Copy the full SHA 29b6b8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9963347 - Browse repository at this point
Copy the full SHA 9963347View commit details -
use the previous pattern (the code is more complex but also more effi…
…cient for edge cases)
Configuration menu - View commit details
-
Copy full SHA for 9755a45 - Browse repository at this point
Copy the full SHA 9755a45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fa8190 - Browse repository at this point
Copy the full SHA 9fa8190View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2576390 - Browse repository at this point
Copy the full SHA 2576390View commit details