2
0
Wang Yuan 75f9dec644 Limit the main db and expires dictionaries to expand (#7954) преди 4 години
..
README 1c71038540 Squash merging 125 typo/grammar/comment/doc PRs (#7773) преди 4 години
rehashing.c 75f9dec644 Limit the main db and expires dictionaries to expand (#7954) преди 4 години

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