Add comment state to prefer virtual.Arena over runtime.Arena
This commit is contained in:
1 parent
9a487ccb6f
commit
61826594c9
1 file changed
+1
@@ -12,6 +12,7 @@ Memory_Block :: struct {
|
|||||||
capacity: uint,
|
capacity: uint,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NOTE: This is for internal use, prefer `Arena` from `core:mem/virtual` if necessary
|
||||||
Arena :: struct {
|
Arena :: struct {
|
||||||
backing_allocator: Allocator,
|
backing_allocator: Allocator,
|
||||||
curr_block: ^Memory_Block,
|
curr_block: ^Memory_Block,
|
||||||
|
|||||||
Reference in new issue
Block a user