diff options
author | Raymond Hettinger <python@rcn.com> | 2003-01-06 22:42:41 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-01-06 22:42:41 +0000 |
commit | 0a2f849b791d13cf0dde97dce2e71a19e2d60465 (patch) | |
tree | d52434d1d5aab5dc4a919018edf12b432a20c0f2 /Modules/arraymodule.c | |
parent | 2720b0dff80650a04f8ebb3cc7163ec6897e02dd (diff) | |
download | cpython-git-0a2f849b791d13cf0dde97dce2e71a19e2d60465.tar.gz |
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.
Diffstat (limited to 'Modules/arraymodule.c')
0 files changed, 0 insertions, 0 deletions