Update arena documentation
+1
-1
@@ -45,7 +45,7 @@ The commit flag behaviour varies by platform:
|
|||||||
|
|
||||||
A bump allocator backed by OS virtual memory (or a user-provided buffer). Provides fast sequential allocations with temporary scope support.
|
A bump allocator backed by OS virtual memory (or a user-provided buffer). Provides fast sequential allocations with temporary scope support.
|
||||||
|
|
||||||
> **Prefer the arena-backed Allocator** — The library provides `wapp_mem_arena_allocator_init` which wraps an arena in the `Allocator` interface. Using this over raw arena functions is recommended for most use cases, as it is compatible with all data structures in the base package (arrays, lists, queues, strings) and provides a consistent API.
|
> ℹ️ **Prefer the arena-backed Allocator** — The library provides `wapp_mem_arena_allocator_init` which wraps an arena in the `Allocator` interface. Using this over raw arena functions is recommended for most use cases, as it is compatible with all data structures in the base package (arrays, lists, queues, strings) and provides a consistent API.
|
||||||
|
|
||||||
### Initialization
|
### Initialization
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user