Radish, Keep Going!
Mar 26, 2026 · Backend Development
Why Go’s Regex Is 25× Slower Than Python – And When It Actually Wins
A detailed benchmark shows Go’s regexp engine is about 25 times slower than Python for a matching input, but in worst‑case scenarios Go remains microseconds while Python can take seconds, thanks to Go’s linear‑time Thompson NFA design versus Python’s exponential backtracking engine.
GoReDoSbenchmark
0 likes · 11 min read
