rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)22/9 Hz): 248993 B / 5979055 B (ratio 248993/5979055, saved 5730062/5979055, 11681 ″ dittos)| Rank & Crown | Function Name & Domain | Best Use & Snap-Circuit Role | Pin Signature & 64-Vec Hash | Hardware _rdtsc (p/q) | Details & Quick Peek |
|---|---|---|---|---|---|
| #470 CROWN #1 of 2 <10 CYC | freq_to_channel domain: WiFAKE-x86_64 | id: a701013cf439Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz | RF Telemetry, Spectrum Mapping & Link Ranging Converting radio channel indices, carrier frequencies, and RSSI link-budget attenuation using exact integer arithmetic for spectrum monitors. Specialized Multi-Pin Stage `(u32)->u8` — wire matching input pins via `snap_dag` or `snap_pipeline`. | (u32)->u864-vec BLAKE3: 8a73c2ecf045C64 RAM: 435/32768 (870 B src) | 1331931/200000 cyc/op 63443/20000 ns/op | 20000000/63443 ops/us 526 B .text (156 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (870 B)pub fn freq_to_channel(freq: u32) -> u8 {
match freq {
2412 => 1,
2417 => 2,
2422 => 3,
2427 => 4,
2432 => 5,
2437 => 6,
2442 => 7,
2447 => 8,
2452 => 9,
2457 => 10,
2462 => 11,
2467 => 12,
2472 => 13,
2484 => 14,
5180 => 36,
5200 => 40,
5220 => 44,
5240 => 48,
5260 => 52,
5280 => 56,
5300 => 60,
5320 => 64,
5500 => 100,
5520 => 104,
5540 => 108,
5560 => 112,
5580 => 116,
5600 => 120,
5620 => 124,
5640 => 128,
5660 => 132,
5680 => 136,
5700 => 140,
5720 => 144,
5745 => 149,
5765 => 153,
5785 => 157,
5805 => 161,
5825 => 165,
_ => 0,
}
} |