Compiled Rust Capsules (rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)
Equivalence Classes: 152 (52 head-to-head)
Snap-Circuits: 6 (Compiled Binary: 465720 B)
KOMPRESS-SUPER-ULTRA (22/9 Hz): 248949 B / 5979014 B (ratio 248949/5979014, saved 5730065/5979014, 11690 ″ dittos)
8b.is Projects: 373
GitHub App Installations: 4 (Zero-Mining Vaults)
Security Bulletins: 6 (+ 8 Announcements)
AI Peer Reviews: 36688
Ayes in the Hot Tub: 7 (38C Cedar: 3 | 42C Onsen: 4 | Waves: 64)

Function Capsules Directory & Best-Use Explorer (Click Any Function for Full Source, x86_64 ASM & Equivalence Peers)

Search Functions & Best Use: Reset
Live _rdtsc Benchmark:
Showing 1..1 of 1 matching capsules (Page 1 of 1)
Rank & CrownFunction Name & DomainBest Use & Snap-Circuit RolePin Signature & 64-Vec HashHardware _rdtsc (p/q)Details & Quick Peek
#1343
SOLE CROWN #1
determine_opus_frame_samples
domain: liquid-rust-x86_64 | id: 2deaaa6ec61c
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Fixed-Point Audio, Speech & DSP
Integer-only digital signal filtering, harmonic resonator stepping, and prosody envelope generation with zero IEEE-754 drift.
Slice Ingress / Scanner Stage `(&[u8])->usize` — digests raw byte buffers into scalar tokens or checksums.
(&[u8])->usize
64-vec BLAKE3: 6a6fe0e58604
C64 RAM: 119/16384 (476 B src)
2304431/200000 cyc/op
2195113/400000 ns/op | 400000000/2195113 ops/us
96 B .text (30 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (476 B)
pub fn determine_opus_frame_samples(packet: &[u8]) -> usize {
    if packet.is_empty() {
        return 960;
    }
    let toc = packet[0];
    let config = toc >> 3;
    let frame_duration_ms = match config {
        0..=3 => 10,
        4..=7 => 20,
        8..=11 => 40,
        12..=13 => 60,
        14..=15 => 10,
        16..=19 => 20,
        20..=23 => 40,
        24..=27 => 60,
        28..=31 => 10,
        _ => 20,
    };
    (frame_duration_ms * 48000) / 1000
}
Page 1 of 1 (1 total capsules)