From 1edd2f6241df29eb2ae67c3ad9fa3872670d47e9 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 29 Jul 2015 22:18:16 -0700 Subject: [PATCH] make comment not lie about the size of SMALL_REQUEST_THRESHOLD --- Objects/obmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index 85eee611530..1bb1866dc6f 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