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 |
|---|---|---|---|---|---|
| #768 SOLE CROWN #1 <10 CYC | shell_closure_below domain: smart-tree | id: f9621d59fa8aAye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz | Lossless Wire & Structural Compression Zero-allocation integer bit-packing, variable-length encoding, and stream framing for sovereign wire protocols. 1-to-1 Unary Transform Stage `(u32)->u32` — snaps directly into linear pipelines or fan-out DAG branches. | (u32)->u3264-vec BLAKE3: 7844791c805cC64 RAM: 291/65536 (291 B src) | 1646439/200000 cyc/op 1568383/400000 ns/op | 400000000/1568383 ops/us 87 B .text (26 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (291 B)pub fn shell_closure_below(nucleon_count: u32) -> u32 {
const CLOSURES: [u32; 8] = [2, 8, 20, 28, 50, 82, 126, 184];
let mut result = 0;
for &c in &CLOSURES {
if c <= nucleon_count {
result = c;
} else {
break;
}
}
result
} |
| #939 SOLE CROWN #1 <10 CYC | magic_number_nearest domain: Sciforge-x86_64 | id: de8e5369b891Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz | Deterministic Sovereign Compute Kernel Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition. 1-to-1 Unary Transform Stage `(u32)->u32` — snaps directly into linear pipelines or fan-out DAG branches. | (u32)->u3264-vec BLAKE3: 4812ce909a16C64 RAM: 327/65536 (327 B src) | 370763/40000 cyc/op 55183/12500 ns/op | 12500000/55183 ops/us 204 B .text (61 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (327 B)pub fn magic_number_nearest(n: u32) -> u32 {
let magic = [2, 8, 20, 28, 50, 82, 126, 184];
let mut best = magic[0];
let mut best_dist = n.abs_diff(best);
for &m in &magic[1..] {
let d = n.abs_diff(m);
if d < best_dist {
best_dist = d;
best = m;
}
}
best
} |
| #1704 CROWN #1 of 2 | fast_isqrt_u32 domain: smart-tree | id: e151a0889b6cAye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz | Lossless Wire & Structural Compression Zero-allocation integer bit-packing, variable-length encoding, and stream framing for sovereign wire protocols. 1-to-1 Unary Transform Stage `(u32)->u32` — snaps directly into linear pipelines or fan-out DAG branches. | (u32)->u3264-vec BLAKE3: ee0865116af0C64 RAM: 303/65536 (303 B src) | 3614829/100000 cyc/op 3443127/200000 ns/op | 200000000/3443127 ops/us 80 B .text (33 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (303 B)pub const fn fast_isqrt_u32(n: u32) -> u32 {
if n < 2 {
return n;
}
let shift = (32 - n.leading_zeros()) >> 1;
let mut x = 1u32 << shift;
x = (x + n / x) >> 1;
x = (x + n / x) >> 1;
x = (x + n / x) >> 1;
if x * x > n {
x - 1
} else {
x
}
} |
| #1710 PEER of 2 | isqrt_u32 domain: smart-tree | id: 3adfa168e10dAye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz | Lossless Wire & Structural Compression Zero-allocation integer bit-packing, variable-length encoding, and stream framing for sovereign wire protocols. 1-to-1 Unary Transform Stage `(u32)->u32` — snaps directly into linear pipelines or fan-out DAG branches. | (u32)->u3264-vec BLAKE3: ee0865116af0C64 RAM: 381/65536 (381 B src) | 626969/12500 cyc/op 2388583/100000 ns/op | 100000000/2388583 ops/us 79 B .text (24 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (381 B)pub const fn isqrt_u32(n: u32) -> u32 {
if n == 0 {
return 0;
}
let mut x = n;
let mut y = 0u32;
let mut bit = 1u32 << 30;
while bit > x {
bit >>= 2;
}
while bit != 0 {
if x >= y + bit {
x -= y + bit;
y = (y >> 1) + bit;
} else {
y >>= 1;
}
bit >>= 2;
}
y
} |