Skip to main content

Module memory

Module memory 

Source
Expand description

Memory allocators for Graphos.

This module provides specialized memory allocators optimized for graph database workloads:

  • arena - Epoch-based arena allocator for structural sharing
  • bump - Fast bump allocator for temporary allocations
  • pool - Object pool for frequently allocated types

Re-exports§

pub use arena::Arena;
pub use arena::ArenaAllocator;
pub use bump::BumpAllocator;
pub use pool::ObjectPool;

Modules§

arena
Epoch-based arena allocator for structural sharing.
bump
Bump allocator for fast temporary allocations.
pool
Object pool for frequently allocated types.