mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 18:54:58 +00:00
14 lines
397 B
Plaintext
14 lines
397 B
Plaintext
|
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
|