Engineering Category: Cryptographic Mixing, Checksums & Wire Integrity
Best Use in Production: High-avalanche 64-bit bijection mixing, deterministic PRNG state stepping, and keyed hash partitioning for hash tables and content addressing.
When to Select This Capsule: Sole canonical implementation for its 64-vector functional equivalence class. Sub-10-cycle hardware kernel (480713/100000 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.
.text: 72 B (16 x86_64 insns)233 B)pub const fn splitmix64(mut x: u64) -> u64 {
x = x.wrapping_add(0x9E37_79B9_7F4A_7C15);
x = (x ^ (x >> 30)).wrapping_mul(0xBF58_476D_1CE4_E5B9);
x = (x ^ (x >> 27)).wrapping_mul(0x94D0_49BB_1331_11EB);
x ^ (x >> 31)
}
rustc -C opt-level=3 x86_64 Disassembly (72 B .text / 16 insns)splitmix64:
movabs rax, -7046029254386353131
add rax, rdi
mov rcx, rax
shr rcx, 30
xor rcx, rax
movabs rax, -4658895280553007687
imul rax, rcx
mov rcx, rax
shr rcx, 27
xor rcx, rax
movabs rdx, -7723592293110705685
imul rdx, rcx
mov rax, rdx
shr rax, 31
xor rax, rdx
ret
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #22 | splitmix64 (THIS CAPSULE) domain: ayecast-x86_64 | id: ba8b4fd5d497648ef48e1c303b5e1ac1 | 480713/100000 cyc/op | 521693/400000 ns/op | 400000000/521693 ops/us | 72 B .text (16 insns) | + (1) | aye::Hue+Gemini(0+1)::x86_64 @ 432Hz |