summaryrefslogtreecommitdiff
path: root/utils/hashtable/README
blob: e2862f012439329265c77219ed9a2d2c45c6189b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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