From 2f5edd03e6d25f400a6eade67d08c329adc8ef12 Mon Sep 17 00:00:00 2001 From: Lu JJ <275955589@qq.com> Date: Sun, 29 May 2022 13:51:33 +0800 Subject: [PATCH] fix typo in quicklist.c (#10785) fix typo ` the largest possible limit is 16k` -> ` the largest possible limit is 64k`. The count field is 16 bits so the largest possible limit is 64k(2**16). --- src/quicklist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quicklist.c b/src/quicklist.c index 06e5034f3..1731e9336 100644 --- a/src/quicklist.c +++ b/src/quicklist.c @@ -43,7 +43,7 @@ #endif /* Optimization levels for size-based filling. - * Note that the largest possible limit is 16k, so even if each record takes + * Note that the largest possible limit is 64k, so even if each record takes * just one byte, it still won't overflow the 16 bit count field. */ static const size_t optimization_level[] = {4096, 8192, 16384, 32768, 65536};