Memory FAQ โ
How do I provide an allocator? โ
Once: Parser.init(allocator). Everything else inherits it. See Allocators.
What must I deinit? โ
Parsers, trees, cursors, queries, query cursors, and changed-range slices. Nodes never.
What happens on allocation failure? โ
OutOfMemory propagates with partial state cleaned up โ covered by failing-allocator tests.
Can objects outlive the allocator? โ
No. The allocator must outlive everything created from it.
