Module order_pool

Source
Expand description

High-performance memory pool for order objects

Provides zero-allocation order creation and recycling for HFT applications. Uses the generic pool with order-specific optimizations.

Structs§

OrderPoolFactory
Factory for creating order pools

Functions§

borrow_from_global_pool
Placeholder functions that will be properly implemented when integrated with rusty_model These provide the expected interface but need proper typing Borrow an object from the global pool (generic version)
global_pool_stats
Get statistics from the global pool
return_to_global_pool
Return an object to the global pool (generic version)
set_global_order_pool
Set the global order pool instance (to be called from application code)
with_global_order_pool
Get the global order pool instance (to be called from application code)

Type Aliases§

OrderPoolTemplate
Type alias for order pool - will be configured with actual Order type when integrated with rusty_model