Re:Interview with a Pornhub web developer (2019)
by Izkata on Tuesday July 28, 2020 @08:05PM
(#23982037)
> debugging why a particular regex works slowly
I encountered one of these once. A user decided to enter this in the middle of their post:
------------------------------
It triggered catastrophic backtracking, and IIRC, 16 characters was right around where you could see noticeable delay, then at about 19 was when it ran so long it never returned.
I encountered one of these once. A user decided to enter this in the middle of their post:
It triggered catastrophic backtracking, and IIRC, 16 characters was right around where you could see noticeable delay, then at about 19 was when it ran so long it never returned.