summaryrefslogtreecommitdiff
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-01-06 22:42:41 +0000
committerRaymond Hettinger <python@rcn.com>2003-01-06 22:42:41 +0000
commit0a2f849b791d13cf0dde97dce2e71a19e2d60465 (patch)
treed52434d1d5aab5dc4a919018edf12b432a20c0f2 /Modules/arraymodule.c
parent2720b0dff80650a04f8ebb3cc7163ec6897e02dd (diff)
downloadcpython-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