Apply rustfmt to entire workspace

Runs cargo fmt --all; all 573 tests still passing, clippy still clean.
No logic changes — formatting only.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
osobh
2026-04-04 20:31:33 -05:00
co-authored by Claude Sonnet 4.6
parent 3d524e2d63
commit 1c107fe58a
69 changed files with 2790 additions and 1325 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ fn float_data(n: usize) -> Vec<u8> {
let mant0 = (i.wrapping_mul(2654435769) >> 24) as u8;
let mant1 = (i.wrapping_mul(0x811c9dc5) >> 16) as u8;
let mant2 = (i.wrapping_mul(0x01000193)) as u8;
v.push(mant2); // byte 0: low mantissa (often < 64 → hot)
v.push(mant2); // byte 0: low mantissa (often < 64 → hot)
v.push(mant1);
v.push(mant0);
v.push(exp_byte); // byte 3: exponent (often 0x3F-0x45 ≥ 64 → cold)
@@ -60,8 +60,8 @@ fn cold_data(n: usize) -> Vec<u8> {
fn bench_cdc(c: &mut Criterion) {
let datasets: &[(&str, fn(usize) -> Vec<u8>)] = &[
("random", random_data),
("float", float_data),
("random", random_data),
("float", float_data),
("cold_only", cold_data),
];
let sizes = [1 << 20, 4 << 20, 16 << 20]; // 1 MB, 4 MB, 16 MB