summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-07-30 05:18:16 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-07-30 05:18:16 (GMT)
commit1edd2f6241df29eb2ae67c3ad9fa3872670d47e9 (patch)
tree81987660c750aaa4846e9e91854b01536b0b8ca6
parentf524799a652fc9086ad61537906d02702fb18280 (diff)
downloadcpython-1edd2f6241df29eb2ae67c3ad9fa3872670d47e9.zip
cpython-1edd2f6241df29eb2ae67c3ad9fa3872670d47e9.tar.gz
cpython-1edd2f6241df29eb2ae67c3ad9fa3872670d47e9.tar.bz2
make comment not lie about the size of SMALL_REQUEST_THRESHOLD
-rw-r--r--Objects/obmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index 85eee61..1bb1866 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -167,7 +167,7 @@ static int running_on_valgrind = -1;
* this value according to your application behaviour and memory needs.
*
* The following invariants must hold:
- * 1) ALIGNMENT <= SMALL_REQUEST_THRESHOLD <= 256
+ * 1) ALIGNMENT <= SMALL_REQUEST_THRESHOLD <= 512
* 2) SMALL_REQUEST_THRESHOLD is evenly divisible by ALIGNMENT
*
* Note: a size threshold of 512 guarantees that newly created dictionaries