Skip to content

Files

Latest commit

cc0d339 · Feb 25, 2015

History

History
This branch is 6637 commits behind redis/redis:unstable.

hashtable

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 11, 2015
Feb 25, 2015
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