1*572c4311SfengbojiangHash table implementation related utilities. 2*572c4311Sfengbojiang 3*572c4311Sfengbojiangrehashing.c 4*572c4311Sfengbojiang--- 5*572c4311Sfengbojiang 6*572c4311SfengbojiangVisually show buckets in the two hash tables between rehashings. Also stress 7*572c4311Sfengbojiangtest getRandomKeys() implementation, that may actually disappear from 8*572c4311SfengbojiangRedis soon, however visualization some code is reusable in new bugs 9*572c4311Sfengbojianginvestigation. 10*572c4311Sfengbojiang 11*572c4311SfengbojiangCompile with: 12*572c4311Sfengbojiang 13*572c4311Sfengbojiang cc -I ../../src/ rehashing.c ../../src/zmalloc.c ../../src/dict.c -o rehashing_test 14