Module memory

Source
Expand description

Memory management utilities for high-frequency trading

This module provides memory pools, zero-copy operations, and allocation-free data structures optimized for sub-microsecond latency trading systems.

Re-exports§

pub use object_pool::FixedPool;
pub use object_pool::LocalObjectPool;
pub use object_pool::PooledObject;
pub use object_pool::ThreadSafeObjectPool;
pub use object_pool::ThreadSafePooledObject;
pub use zerocopy_pools::BufferHandle;
pub use zerocopy_pools::GlobalPoolManager;
pub use zerocopy_pools::GlobalPoolStatistics;
pub use zerocopy_pools::PoolStatistics;
pub use zerocopy_pools::SimdBufferHandle;
pub use zerocopy_pools::SimdMemoryPool;
pub use zerocopy_pools::TypedBufferHandle;
pub use zerocopy_pools::TypedMemoryPool;
pub use zerocopy_pools::ZerocopyMemoryPool;
pub use zerocopy_pools::ZerocopyPoolConfig;
pub use trading_pools::DefaultOrderProcessing;
pub use trading_pools::JsonProcessingPool;
pub use trading_pools::MarketDataPool;
pub use trading_pools::OrderBufferType;
pub use trading_pools::OrderProcessingPool;
pub use trading_pools::PooledOrderProcessing;
pub use trading_pools::PooledWebSocketMessage;
pub use trading_pools::TradingPoolManager;
pub use trading_pools::WebSocketMessagePool;
pub use trading_pools::WebSocketMessageType;
pub use trading_pools::get_global_trading_pools;
pub use trading_pools::initialize_trading_pools;
pub use trading_pools::with_thread_local_pools;
pub use hft_pools::HftBufferHandle;
pub use hft_pools::HftBufferPool;
pub use hft_pools::HftPoolConfig;
pub use hft_pools::HftPoolManager;
pub use hft_pools::HftPoolStats;
pub use hft_pools::OrderHandle;
pub use hft_pools::OrderPool;
pub use hft_pools::PooledOrder;
pub use hft_pools::PooledTrade;
pub use hft_pools::TradeHandle;
pub use hft_pools::TradePool;
pub use hft_pools::global_hft_pools;
pub use hft_pools::with_hft_pools;

Modules§

hft_pools
High-frequency trading object pools for zero-allocation operations
object_pool
High-performance object pools for HFT systems
trading_pools
Trading-specific memory pools for zero-allocation hot paths
zerocopy_pools
Zero-copy memory pools for high-frequency allocations