Somehow I ended up playing with SIMD and I wrote an IPv6 96-bit prefix comparison function that's 250 picoseconds faster than doing lhs.segments()[0..6] == rhs.segments()[0..6]
.
I have no idea what to do with these 250 picoseconds I am saving every time I need to compare 96-bit IPv6 prefixes.