[Blog] 5x speedup changing break to elemIndex!
Haskell Community [Unofficial]
April 21, 2026
Well the migration from Text to ByteString unblocked using elemIndex, so it’s worth it now. In a future where Text provides an equivalent of elemIndex, sure. No, I’d rather not use that internal memchr function
Discussion in the ATmosphere