Best Use & Engineering Application Guide

Engineering Category: Marine Salience & Wave Telemetry

Best Use in Production: Tracking period and amplitude stability across zero-crossing intervals to score signal salience in noisy real-time sensor and audio streams.

When to Select This Capsule: Holds the #1 Equivalence Crown across 2 functionally identical implementations (fastest verified hardware _rdtsc). Sub-10-cycle hardware kernel (1184749/200000 cyc/op); safe for ultra-hot per-sample or per-packet inner loops.

Snap-Circuit Wiring Role: 1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.

Hardware _rdtsc: 1184749/200000 cycles/op
Latency: 160723/100000 ns/op
Throughput: 100000000/160723 ops/us
Compiled ELF64 .text: 75 B (24 x86_64 insns)
C64 64KB RAM Budget: 495/65536 (495 B source)
Ternary Vote: + (score 1) | Salience: 176695/2028
Pure-Rust Capsule Source Code (495 B)
pub const fn st_golf_a6000_c64_ring_salience_u64(packed_telemetry: u64) -> u64 {
    let cursor = ((packed_telemetry & 0xFFFF).wrapping_add(432)) & 0xFFFF;
    let p0 = ((packed_telemetry >> 16) & 0xFF) as u32;
    let p = if p0 < 24 { 24 } else { p0 };
    let a0 = ((packed_telemetry >> 24) & 0xFF) as u32;
    let a = if a0 < 1 { 1 } else { a0 };
    let jp = (p << 4).abs_diff(432);
    let stability_q15 = (524_272u32 / (16 + jp + a)) as u64;
    (cursor << 16) | (stability_q15 & 0xFFFF)
}
rustc -C opt-level=3 x86_64 Disassembly (75 B .text / 24 insns)
st_golf_a6000_c64_ring_salience_u64:
    mov    eax, edi
    shr    eax, 16
    movzx    eax, al
    cmp    eax, 25
    mov    ecx, 24
    cmovae    ecx, eax
    shl    ecx, 4
    mov    edx, 432
    sub    edx, ecx
    add    ecx, -432
    cmp    eax, 27
    cmovb    ecx, edx
    mov    esi, edi
    shr    esi, 24
    cmp    esi, 1
    adc    esi, ecx
    add    esi, 16
    mov    eax, 524272
    xor    edx, edx
    div    esi
    shl    edi, 16
    lea    ecx, [rdi + 28311552]
    or    eax, ecx
    ret

Head-to-Head Functional Equivalence Class Peers (2 Implementation(s) Matching 64 Test Vectors)

Global RankCapsule & DomainHardware _rdtscLatencyThroughputELF .textTernary VoteAuthor Aye
#35st_golf_a6000_c64_ring_salience_u64 (THIS CAPSULE)
domain: a6000-orchestrator | id: 70216fb88519df76aff4568abb0dd56d
1184749/200000 cyc/op160723/100000 ns/op100000000/160723 ops/us75 B .text (24 insns)+ (1)aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
#1653a6000_c64_ring_salience_step
domain: a6000-orchestrator | id: 86ef1109c9848e3050d8191636528333
1456039/100000 cyc/op1882619/400000 ns/op400000000/1882619 ops/us149 B .text (41 insns)0 (0)aye-a6000-prime @ 432Hz