Module memory_pool

Module memory_pool 

Source
Expand description

High-performance memory pool for WASM optimization

This module provides efficient memory allocation patterns optimized for WASM environments with minimal allocation overhead.

Structs§

KernelMemoryManager
High-level memory management for kernel operations
MemoryPool
High-performance memory pool optimized for WASM
PoolConfig
Memory pool configuration for optimal performance
PoolStats
Performance statistics for the memory pool

Functions§

allocate
Allocate from the global pool
deallocate
Deallocate to the global pool
global_pool
Get or initialize the global memory pool
global_stats
Get global pool statistics