We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
testfx/src/Adapter/MSTest.TestAdapter/Execution/ExceptionHelper.cs
Line 109 in beb890d
It doesn't make much sense to me to use Regex here.
Not so much allocations but would be good to reduce:
The text was updated successfully, but these errors were encountered:
This can even be more efficient than string.Split.
string.Split
We can do the loop ourselves and use spans to not allocate anything here.
Sorry, something went wrong.
Agree. Probably was used because it has overload that takes string, rather than having to wrap the string into array to call string.split.
No branches or pull requests
testfx/src/Adapter/MSTest.TestAdapter/Execution/ExceptionHelper.cs
Line 109 in beb890d
It doesn't make much sense to me to use Regex here.
Not so much allocations but would be good to reduce:
The text was updated successfully, but these errors were encountered: