-
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
Optimize implementation of Array.Fill. #7049
Comments
@jnm2 It is going to be done in unmanaged code. |
@danmosemsft PTAL |
Could look at Span.Fill as well |
@GrabYourPitchforks #51365 didn't touch the |
@xtqqczze Whoops, good catch. |
Tagging subscribers to this area: @tannergooding Issue DetailsThe
|
The
Array.Fill
api which was just added is a very naive implementation. We should look into the perf benefits of implementing it in C++ and doing things like memset for bytes/avoiding multiple type-checks for reference types. Relevant comment: dotnet/coreclr#8137 (comment)The text was updated successfully, but these errors were encountered: