Module pool

Module pool 

Source
Expand description

Container pooling infrastructure for efficient memory management during expression evaluation.

This module provides pooling for all container types to avoid frequent allocations and deallocations during column operations. Each container type has its own pool that manages reusable instances.

Re-exports§

pub use config::PoolConfig;
pub use config::init_default_thread_pools;
pub use config::init_test_pools;
pub use config::init_thread_pools;
pub use lazy::ensure_thread_pools;
pub use lazy::get_or_init_pools;
pub use lazy::thread_pools_lazy;
pub use scoped::ScopedPools;
pub use scoped::with_default_pools;
pub use scoped::with_scoped_pools;
pub use scoped::with_test_pools;
pub use thread_local::get_thread_pools;
pub use thread_local::has_thread_pools;
pub use thread_local::thread_pools;

Modules§

config
Pool configuration for ftokenizeible initialization
lazy
Lazy initialization support for thread-local pools
scoped
RAII guards for scoped pool management
thread_local
Thread-local pool storage for avoiding explicit pool passing

Structs§

PooledGuard
A guard that automatically returns a container to its pool when dropped
Pools
PoolsInner