fn mem_key(path: &str, stream: usize) -> u64
ponytail: 64-bit hash as the map key so the per-frame lookup allocates nothing — collisions are astronomically unlikely.