Expand description
Buffer pool system for zero-copy parsing with memory management
This module provides a memory pool system to minimize allocations during JSON parsing, with support for different buffer sizes and reuse strategies.
Structs§
- Aligned
Buffer - SIMD-aligned buffer with metadata
- Buffer
Pool - Buffer pool that manages reusable byte buffers for parsing
- Cleanup
Stats - Result of cleanup operation
- Pool
Config - Configuration for buffer pool behavior
- Pool
Stats - Statistics about buffer pool usage
- Pooled
Buffer - RAII wrapper for pooled buffer that returns buffer to pool on drop
Enums§
- Buffer
Size - Standard buffer sizes for different parsing scenarios
- Simd
Type - SIMD instruction set types
Functions§
- global_
buffer_ pool - Get global buffer pool instance
- initialize_
global_ buffer_ pool - Initialize global buffer pool with custom configuration