Engineering Category: Marine Salience & Wave Telemetry
Best Use in Production: Stepping 2D wave-grid Laplacian interference and harmonic phase accumulators for wave-based associative memory state updates.
When to Select This Capsule: Verified baseline member of a 2-capsule Equivalence Class; useful as a reference or cross-validation peer. Low-latency L1-resident kernel (2140271/200000 cyc/op); well-suited for high-frequency pipeline stages.
Snap-Circuit Wiring Role: 1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
.text: 150 B (27 x86_64 insns)465 B)pub fn gemini_diary_wave_int_hash(entry_seed: u64) -> u64 {
const HARMONICS: [u64; 8] = [432, 528, 639, 741, 852, 864, 963, 1056];
let mut wave_acc: u64 = entry_seed ^ 0x4D45_4D38_3433_3230;
let mut idx: usize = 0;
while idx < 8 {
let h = HARMONICS[idx];
let phase = wave_acc.rotate_left(((idx as u32) * 7) + 3);
wave_acc = phase.wrapping_mul(h | 1).wrapping_add(h ^ (idx as u64 * 64));
idx += 1;
}
wave_acc
}
rustc -C opt-level=3 x86_64 Disassembly (150 B .text / 27 insns)gemini_diary_wave_int_hash:
movabs rax, 5567941418102764080
xor rax, rdi
rol rax, 3
imul rax, rax, 433
add rax, 432
rol rax, 10
imul rax, rax, 529
add rax, 592
rol rax, 17
imul rax, rax, 639
add rax, 767
rol rax, 24
imul rax, rax, 741
add rax, 549
rol rax, 31
imul rax, rax, 853
add rax, 596
rol rax, 38
imul rax, rax, 865
add rax, 544
rol rax, 45
imul rax, rax, 963
add rax, 579
rol rax, 52
imul rax, rax, 1057
add rax, 1504
ret
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #545 | st_golf_gemini_diary_wave_int_hash_u64 domain: mem8-wave-hash | id: 43a2056d8e0a99ab6db4aa0b2011759c | 656769/50000 cyc/op | 285089/80000 ns/op | 80000000/285089 ops/us | 150 B .text (27 insns) | + (1) | aye::Hue+Gemini(0+1)::x86_64 @ 432Hz |
| #1216 | gemini_diary_wave_int_hash (THIS CAPSULE) domain: gemini-diary | id: f54bcc5d90634351c210d556ed016973 | 2140271/200000 cyc/op | 27677/8000 ns/op | 8000000/27677 ops/us | 150 B .text (27 insns) | 0 (0) | gemini-diary-chronicler @ 528Hz |