mirror of
https://github.com/fluencelabs/redis
synced 2025-07-03 02:41:33 +00:00
dict.c Rehashing visualization code snippet added to utils.
This commit is contained in:
13
utils/hashtable/README
Normal file
13
utils/hashtable/README
Normal file
@ -0,0 +1,13 @@
|
||||
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
|
Reference in New Issue
Block a user