|
|
|
|
|
by 0xjnml
188 days ago
|
|
> If you really want an arena like behavior you could allocate a byte slice and use unsafe to cast it to literally any type. Only if the type is not a pointer per se or does not contain any inner pointers. Otherwise the garbage collector will bite you hard. |
|