From: Benjamin Peterson Date: Thu, 30 Jul 2015 05:18:16 +0000 (-0700) Subject: make comment not lie about the size of SMALL_REQUEST_THRESHOLD X-Git-Tag: v2.7.11rc1~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1edd2f6241df29eb2ae67c3ad9fa3872670d47e9;p=python make comment not lie about the size of SMALL_REQUEST_THRESHOLD --- diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index 85eee61153..1bb1866dc6 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