Format the two new examples

They were written after the last fmt run and CI gates on --check.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-29 12:33:23 +02:00
co-authored by Claude Opus 5
parent 3944e17aa5
commit 0407fb8d2d
2 changed files with 14 additions and 9 deletions
+8 -2
View File
@@ -25,7 +25,10 @@ const DEFAULT_SIZES: [usize; 4] = [2_000, 4_000, 8_000, 18_000];
fn main() {
let sizes: Vec<usize> = {
let given: Vec<usize> = std::env::args().skip(1).filter_map(|a| a.parse().ok()).collect();
let given: Vec<usize> = std::env::args()
.skip(1)
.filter_map(|a| a.parse().ok())
.collect();
if given.is_empty() {
DEFAULT_SIZES.to_vec()
} else {
@@ -37,7 +40,10 @@ fn main() {
// no fit of its own would scan at.
let cal = Calibration::default();
println!("{:>8} {:>9} {:>10} {:>9}", "faces", "scan", "pairs", "GFLOP/s");
println!(
"{:>8} {:>9} {:>10} {:>9}",
"faces", "scan", "pairs", "GFLOP/s"
);
for n in sizes {
let (embeddings, crop_px, images) = population(n);
let faces = Faces {