wit-bindgen icon indicating copy to clipboard operation
wit-bindgen copied to clipboard

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

Open dicej opened this issue 1 year ago • 0 comments

Per https://github.com/dotnet/runtimelab/pull/2614#discussion_r1699988599, using stackalloc would likely be more efficient and avoid the need for GC pinning.

dicej avatar Aug 01 '24 14:08 dicej