summaryrefslogtreecommitdiffstats
path: root/Objects/intobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-02-22 11:30:06 (GMT)
committerGeorg Brandl <georg@python.org>2006-02-22 11:30:06 (GMT)
commit418a1ef0895e826c65d4113be5d86891c199e15d (patch)
tree49980d54ed56d5d1a12e0e65b7ac02eb8ce8ac40 /Objects/intobject.c
parentdf431657fd71f8f42becba9444dd73eab7dadfac (diff)
downloadcpython-418a1ef0895e826c65d4113be5d86891c199e15d.zip
cpython-418a1ef0895e826c65d4113be5d86891c199e15d.tar.gz
cpython-418a1ef0895e826c65d4113be5d86891c199e15d.tar.bz2
RFE #1436243: make integers in [0..256] preallocated.
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r--Objects/intobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c
index 232b2d2..352210c 100644
--- a/Objects/intobject.c
+++ b/Objects/intobject.c
@@ -62,7 +62,7 @@ fill_free_list(void)
}
#ifndef NSMALLPOSINTS
-#define NSMALLPOSINTS 100
+#define NSMALLPOSINTS 257
#endif
#ifndef NSMALLNEGINTS
#define NSMALLNEGINTS 5