Overthinking Leetcode's Two Sum with SIMD

1 · Graham King · Oct. 9, 2022, 9:30 p.m.
When is the linear scan Two Sum solution faster than a map? What if we use AVX-512 instructions?...