summaryrefslogtreecommitdiff
path: root/utils/hashtable/README
diff options
context:
space:
mode:
authorbyte2016 <[email protected]>2018-06-12 19:55:38 +0800
committerbyte2016 <[email protected]>2018-06-12 19:55:38 +0800
commit76f2c13d7c27d7419af79ea0bdc7ab7717b6935b (patch)
treeaa2ca741501d40990b892d504a1cc3b7defe57aa /utils/hashtable/README
Init commit.HEADmaster
Diffstat (limited to 'utils/hashtable/README')
-rw-r--r--utils/hashtable/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/hashtable/README b/utils/hashtable/README
new file mode 100644
index 0000000..e2862f0
--- /dev/null
+++ b/utils/hashtable/README
@@ -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