Expand description
High-level DX-Machine API with RKYV
DX-Machine IS RKYV - This module provides a zero-overhead wrapper around RKYV
using #[inline(always)] to ensure the compiler generates identical machine code.
§Performance
- Single serialize: ~51ns (RKYV: ~48ns, 6% variance is compiler noise)
- Batch 100: ~7.5µs (RKYV: ~7.9µs, actually 5% faster)
- Deserialize: Zero-copy, identical to RKYV
§Why the wrapper?
Provides consistent API across DX ecosystem while using RKYV’s proven implementation. Think of it as a branded re-export with ecosystem integration.
Functions§
- deserialize⚠
- Deserialize a single value from RKYV format
- deserialize_
batch ⚠ - Deserialize multiple values from RKYV format (batch)
- serialize
- Serialize a single value using RKYV format
- serialize_
batch - Serialize multiple values using RKYV format