A Very Fast IPv4 Parser, in Swift
No lookup tables, SIMD, or out-of-bounds reads: just SWAR. Beating almost every implementation in ~3 nanoseconds.
Mahdi Bahrami's blog
No lookup tables, SIMD, or out-of-bounds reads: just SWAR. Beating almost every implementation in ~3 nanoseconds.
Mahdi Bahrami's blog