|
|
|
|
|
by yyyk
409 days ago
|
|
Right, it depends on how far one wants to go to avoid allocations. structs and spans are safe. But one can go even deeper and pin pointers and do Unsafe.AsPointer and get a de-facto (unsafe) union out of it.... >https://em-tg.github.io/csborrow/ Oooh... I didn't know scoped refs existed. |
|