|
|
|
|
|
by ozgrakkurt
307 days ago
|
|
Afaik the new recommended pattern is to have “unmanaged” apis so structs don’t keep allocators inside but take it in every function call. Passing an extra argument for allocator is fine in my experience, it doesn’t really take much time to write it down and it is nice to be able to see if a function does allocation from it’s signature alone |
|