Module memory

Module memory 

Source
Expand description

Memory-efficient metrics computation

This module provides utilities for computing metrics with minimal memory usage, which is particularly useful for large datasets.

Structs§

AllocatorStats
General allocator statistics
Arena
Individual memory arena
ArenaAllocator
Arena allocator for temporary memory management
ArenaAllocatorWrapper
ArenaStats
Arena allocator statistics
BuddyAllocator
Buddy allocator for power-of-2 sized allocations
BuddyStats
Buddy allocator statistics
ChunkedMetrics
Chunked metrics computation for memory efficiency
IncrementalMetrics
On-the-fly computation of incremental metrics
LockFreeRecycler
Lock-free memory recycler using hazard pointers
MappingStats
Memory mapping statistics
MemoryMapping
Memory mapping entry
MemoryMappingManager
Memory mapping manager for large datasets
MemoryPool
Custom memory pool for efficient allocation and deallocation
MemoryStats
Memory statistics tracking
PoolAllocator
PoolStatistics
Pool-specific statistics
RecyclerNode
Node in the lock-free recycler
RecyclerStats
Lock-free recycler statistics
SimdAlignedAllocator
SIMD-aligned allocator for vectorized operations
SimdAllocatorWrapper
SimdStats
SIMD allocation statistics
Slab
Individual slab in the slab allocator
SlabAllocator
Slab allocator for fixed-size allocations
SlabStats
Slab allocator statistics
SystemAllocator
ThreadLocalAllocator
Thread-local memory allocator for high-performance scenarios
ZeroCopyArrayView
Zero-copy array view wrapper
ZeroCopyArrayViewMut
Zero-copy mutable array view wrapper
ZeroCopyBuffer
Memory buffer for zero-copy operations
ZeroCopyMemoryManager
Zero-copy memory manager for metrics computation

Enums§

AccessMode
Access modes for memory mappings

Traits§

CustomAllocator
Custom allocator trait for different allocation strategies
MemoryMappedMetric
Trait for memory-mapped metrics computation
StreamingMetric
Trait for streaming computation of metrics