GvR's idea to use memset() for the most common special case of repeating
a single character. Shaves another 10% off the running time by avoiding the lg2(N) loops and cache effects for the other cases.
R
Raymond Hettinger committed
0a2f849b791d13cf0dde97dce2e71a19e2d60465
Parent: 2720b0d