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

C#: use stackalloc where appropriate for caller-allocated buffers #1012

Open
dicej opened this issue Aug 1, 2024 · 0 comments
Open

C#: use stackalloc where appropriate for caller-allocated buffers #1012

dicej opened this issue Aug 1, 2024 · 0 comments

Comments

@dicej
Copy link
Collaborator

dicej commented Aug 1, 2024

Per dotnet/runtimelab#2614 (comment), using stackalloc would likely be more efficient and avoid the need for GC pinning.

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