UK & world technology
Sign inJoin us
TechBlastTechnology. Unpacked.UK & world technology
← Latest news

From Dev.to

Regex Catastrophic Backtracking: The Timing Curve I Measured

A nested-quantifier regex went from 46ms to 31.6 seconds as input length grew from 20 to 32 characters The safe rewrite stayed under 0.2ms at every length I tested, no slowdown at all At 34 charac...

Read the full report at Dev.to ↗