2 ms·
This is about speeding up some string searches in CPython, with an aim of avoiding pathological cases. One given example goes from over three hours (currently r
by lumpa 6y ago
This is about speeding up some string searches in CPython, with an aim of avoiding pathological cases. One given example goes from over three hours (currently released CPython) to 0.1 seconds (proposed patch).
Here's the bug report that lead to that discussion: "bytes.find consistently hangs in a particular scenario" -> https://bugs.python.org/issue41972 https://bugs.python.org/issue41972