Expand description
Custom Memory Allocators for Geospatial Data
This module provides specialized allocators optimized for geospatial workloads:
- Slab allocator for fixed-size blocks (tiles)
- Buddy allocator for variable-size blocks
- Thread-local allocation pools
- Allocation tracking and statistics
- Memory leak detection in debug mode
Structs§
- Allocator
Stats - Statistics for allocator performance tracking
- Buddy
Allocator - Buddy allocator for variable-size blocks
- Slab
Allocator - Slab allocator for fixed-size blocks
- Thread
Local Allocator - Thread-local allocator pool
Constants§
- MAX_
BLOCK_ SIZE - Maximum block size for buddy allocator (16MB)
- MIN_
ALIGNMENT - Minimum alignment for all allocations
- SLAB_
SIZES - Slab sizes for common geospatial tile dimensions
Traits§
- Allocator
- Generic allocator trait