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

Skip unnecessary ToString() call to check file extension #468

Merged
merged 1 commit into from
Jan 14, 2023

Conversation

Sergio0694
Copy link
Owner

Description

This PR removes an unnecessary ToString() call, now that C# allows switching over ReadOnlySpan<char> values.

@Sergio0694 Sergio0694 added the optimization 🚀 Performance improvement to existing APIs label Jan 14, 2023
@Sergio0694 Sergio0694 merged commit 048c361 into main Jan 14, 2023
@Sergio0694 Sergio0694 deleted the dev/skip-extension-tostring branch January 14, 2023 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization 🚀 Performance improvement to existing APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant