Module memory_pool

Module memory_pool 

Source
Expand description

Custom memory allocators for graph query execution

This module provides specialized allocators:

  • Arena allocation for query-scoped memory
  • Object pooling for frequent allocations
  • NUMA-aware allocation for distributed systems

Structsยง

ArenaAllocator
Arena allocator for query execution All allocations are freed together when the arena is dropped
NumaAllocator
NUMA-aware allocator for multi-socket systems
ObjectPool
Object pool for reducing allocation overhead
PooledObject
RAII wrapper for pooled objects
QueryArena
Query-scoped arena that resets after each query