Expand description
Memory pool management for Dioxus Motion optimizations
This module provides pooling systems to reduce memory allocations in hot paths of the animation system, particularly for configuration objects and other frequently allocated structures.
Modules§
- global
- Global functions for accessing the thread-local config pool
- integrator
- Global functions for integrator pool management
- resource_
pools - Global functions for managing Motion resource pools
Structs§
- Config
Handle - A handle to a pooled AnimationConfig that automatically returns to pool when dropped
- Config
Pool - A pool for reusing AnimationConfig instances to reduce allocations
- Global
Integrator Pools - Global integrator pool management using type-erased storage
- Motion
Resource Pools - Global resource pool management for Motion optimizations Manages all pooled resources including configs, integrators, and closures
- Pool
Config - Configuration for resource pools
- Pool
Stats - Statistics about all resource pools
- Spring
Integrator - Spring integrator with pre-allocated buffers for RK4 integration Eliminates temporary State struct allocations in hot paths
- Spring
Integrator Handle - Handle to a pooled SpringIntegrator
- Spring
Integrator Pool - Pool for reusing SpringIntegrator instances