SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72156 0 84 Python

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