Implementation of Diamond iO
We currently support two different matrix implementations:
- In-memory (default): Uses memory for all matrix storage.
- Disk-backed (enable with
--features disk
): Uses themmap()
syscall to store matrices on disk.
This disables helper logic and fields used only for testing, which are not required for iO security.
- Dummy parameters
cargo test -r --test test_io_dummy_param --no-default-features -- --ignored --nocapture
- Real parameters (tests are ignored by default)
cargo test -r --test test_io_real_param --no-default-features -- --ignored --nocapture
- With memory profiler
uv run memory_profile.py cargo test -r --test test_io_dummy_param --no-default-features