-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Look for places to collapse AsSpan().Slice(start, length) into .AsSpan(start,length) #25131
Comments
@atsushikan do we still have work to do here? or this is done? |
Work hasn't started on this. (BTW, this work is cleanup and microoptimization rather than "Enhancement.") |
A quick search in corefx shows this:
|
that is what meant by "Enhancement". @stephentoub you marked it as up-for-grabs so we should un-assign @atsushikan if you think someone else will pick it up. |
Not necessary unless he wants that. This is just the kind of thing that anyone can do; doesn't require Ati's skill set. |
what I meant, people usually don't pick the assigned issues. anyway, I'll see if I can do this one myself. |
What about shipping an analyzer and code fix for this? |
@tarekgh, can you please fix such uses in coreclr as well? For instance (the only one I could find): https://github.com/dotnet/coreclr/blob/76be5e3928cbfa01e96086e532a6476f1acac293/src/mscorlib/shared/System/IO/PathInternal.cs#L137 |
See dotnet/corefxlab#2206 (experimental, trying it out) |
No description provided.
The text was updated successfully, but these errors were encountered: