A Python library providing static memory allocation with a unified interface. It supports arena-based allocation, stack allocators, and pool allocators for performance-critical or embedded contexts. Current version is 0.3.0, updated April 2025. Active development with infrequent releases.
pip install omnimallocNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: create a static memory arena, inspect stats, and free it.
Use context managers: `with Arena(1024) as arena:` (available from 0.2.0+).
Update imports to `from omnimalloc import Arena, StackAllocator, PoolAllocator`.
Replace `from omnimalloc.mmap import MmapArena` with `Arena(size, backed='mmap')`.
Use `omnimalloc.ThreadSafeArena` wrapper or external locking.