Wang Yuan 75f9dec644 Limit the main db and expires dictionaries to expand (#7954) %!s(int64=4) %!d(string=hai) anos
..
README 1c71038540 Squash merging 125 typo/grammar/comment/doc PRs (#7773) %!s(int64=4) %!d(string=hai) anos
rehashing.c 75f9dec644 Limit the main db and expires dictionaries to expand (#7954) %!s(int64=4) %!d(string=hai) anos

README

Hash table implementation related utilities.

rehashing.c
---

Visually show buckets in the two hash tables between rehashings. Also stress
test getRandomKeys() implementation, that may actually disappear from
Redis soon, However the visualization code is reusable in new bugs
investigation.

Compile with:

cc -I ../../src/ rehashing.c ../../src/zmalloc.c ../../src/dict.c -o rehashing_test