rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)22/9 Hz): 248869 B / 5979051 B (ratio 248869/5979051, saved 5730182/5979051, 11695 ″ dittos)| Rank & Crown | Function Name & Domain | Best Use & Snap-Circuit Role | Pin Signature & 64-Vec Hash | Hardware _rdtsc (p/q) | Details & Quick Peek |
|---|---|---|---|---|---|
| #443 SOLE CROWN #1 | unpack_5_trits_base243 domain: ayecast-x86_64 | id: 07eff900be76Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz | Balanced Ternary & b158 Quantization Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines. Specialized Multi-Pin Stage `(u8)->[i8;5]` — wire matching input pins via `snap_dag` or `snap_pipeline`. | (u8)->[i8;5]64-vec BLAKE3: 862195839af1C64 RAM: 71/16384 (284 B src) | 2303721/200000 cyc/op 624979/200000 ns/op | 200000000/624979 ops/us 147 B .text (48 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (284 B)pub const fn unpack_5_trits_base243(byte: u8) -> [i8; 5] {
let mut v = if byte >= 243 { 242 } else { byte };
let mut out = [0i8; 5];
let mut i = 0;
while i < 5 {
let rem = v % 3;
out[i] = (rem as i8) - 1;
v /= 3;
i += 1;
}
out
} |