diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-07-30 05:18:16 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-07-30 05:18:16 (GMT) |
commit | 1edd2f6241df29eb2ae67c3ad9fa3872670d47e9 (patch) | |
tree | 81987660c750aaa4846e9e91854b01536b0b8ca6 | |
parent | f524799a652fc9086ad61537906d02702fb18280 (diff) | |
download | cpython-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.c | 2 |
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 |