f-stack/app/redis-6.2.6/utils/hashtable/README

14 lines
396 B
Plaintext
Raw Permalink Normal View History

2022-05-28 01:34:09 +00:00
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