mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
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).
This commit is contained in:
parent
1013cbeae2
commit
2f5edd03e6
@ -43,7 +43,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Optimization levels for size-based filling.
|
/* 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. */
|
* just one byte, it still won't overflow the 16 bit count field. */
|
||||||
static const size_t optimization_level[] = {4096, 8192, 16384, 32768, 65536};
|
static const size_t optimization_level[] = {4096, 8192, 16384, 32768, 65536};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user