antirez cc0d339bd1 utils/hashtable/rehashing.c test updated to use new API. il y a 9 ans
..
README edda00b902 dict.c Rehashing visualization code snippet added to utils. il y a 9 ans
rehashing.c cc0d339bd1 utils/hashtable/rehashing.c test updated to use new API. il y a 9 ans

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 visualizaiton some code is reusable in new bugs
investigation.

Compile with:

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