Y
Hacker News
new
|
ask
|
show
|
jobs
by
notanaverageman
1658 days ago
You still have to use stackalloc to allocate on stack. With Span<T> you don’t have to use the unsafe keyword and you can pass the allocated array to other functions easily.