Note also that the benchmark results may be different for other input strings. The one in the OP is short and all the same-char substrings are also short, so for instance, results may be different if you use a long string containing long same-char substrings.
|Replies are listed 'Best First'.|
Re^4: substrings that consist of repeating characters
by Eily (Monsignor) on Sep 29, 2020 at 15:13 UTC