Update arena documentation

2026-05-10 16:40:30 +01:00
parent 72c4aaed02
commit 7362bef5d7
+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