He wrote a very detailed answer to a question I had years ago: https://stackoverflow.com/questions/61758735/find-longest-ad...
At the time I didn't realize it was the Tim Peters. Very helpful guy. RIP