Expand description
Buffer traits and implementations for zero-copy SBE operations.
This module provides:
ReadBuffertrait for read-only buffer accessWriteBuffertrait for read-write buffer accessAlignedBufferfor cache-line aligned buffersBufferPoolfor reusable buffer allocation
Structs§
- Aligned
Buffer - Cache-line aligned buffer for optimal CPU cache performance.
- Buffer
Pool - Pool of reusable aligned buffers to avoid allocation overhead.
Constants§
- DEFAULT_
BUFFER_ SIZE - Default buffer size for the pool (64KB).
Traits§
- Read
Buffer - Trait for read-only buffer access with optimized primitive reads.
- Write
Buffer - Trait for read-write buffer access with optimized primitive writes.