]> granicus.if.org Git - python/commitdiff
make comment not lie about the size of SMALL_REQUEST_THRESHOLD
authorBenjamin Peterson <benjamin@python.org>
Thu, 30 Jul 2015 05:18:16 +0000 (22:18 -0700)
committerBenjamin Peterson <benjamin@python.org>
Thu, 30 Jul 2015 05:18:16 +0000 (22:18 -0700)
Objects/obmalloc.c

index 85eee611530a43d9bd7ba8082bee7c45d3272449..1bb1866dc6f9ac2cfdc838f2c434154a0a443d96 100644 (file)
@@ -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