mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Jim Ahlstrom patch: cutoff should be a long for machines with 16-bit
ints. (In theory, other variables should be widened to long as well, but this won't ever be needed, since the len of a list is still an int.)
This commit is contained in:
parent
3c25904a98
commit
3aa23fdd47
1 changed files with 1 additions and 1 deletions
|
@ -877,7 +877,7 @@ struct SamplesortStackNode {
|
||||||
is undesirable, so cutoff values are canned in the "cutoff" table
|
is undesirable, so cutoff values are canned in the "cutoff" table
|
||||||
below: cutoff[i] is the smallest N such that k == CUTOFFBASE + i. */
|
below: cutoff[i] is the smallest N such that k == CUTOFFBASE + i. */
|
||||||
#define CUTOFFBASE 4
|
#define CUTOFFBASE 4
|
||||||
static int cutoff[] = {
|
static long cutoff[] = {
|
||||||
43, /* smallest N such that k == 4 */
|
43, /* smallest N such that k == 4 */
|
||||||
106, /* etc */
|
106, /* etc */
|
||||||
250,
|
250,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue