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

Using ReadonlySpan for params parameter in Net 9 + #118

Open
NotAsea opened this issue Jan 24, 2025 · 0 comments
Open

Using ReadonlySpan for params parameter in Net 9 + #118

NotAsea opened this issue Jan 24, 2025 · 0 comments

Comments

@NotAsea
Copy link

NotAsea commented Jan 24, 2025

Net 9+ allow you use any collection that support IEnumerable<T> for params , we should take advantage of it and add overload that take params ReadonlySpan<T> to completely remove memory allocation when passing parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant