hash table example commented out in dict.c
This commit is contained in:
parent
b3aa6d712e
commit
e0be2289e9
@ -615,6 +615,12 @@ void dictDisableResize(void) {
|
|||||||
dict_can_resize = 0;
|
dict_can_resize = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
|
||||||
|
/* The following are just example hash table types implementations.
|
||||||
|
* Not useful for Redis so they are commented out.
|
||||||
|
*/
|
||||||
|
|
||||||
/* ----------------------- StringCopy Hash Table Type ------------------------*/
|
/* ----------------------- StringCopy Hash Table Type ------------------------*/
|
||||||
|
|
||||||
static unsigned int _dictStringCopyHTHashFunction(const void *key)
|
static unsigned int _dictStringCopyHTHashFunction(const void *key)
|
||||||
@ -678,3 +684,4 @@ dictType dictTypeHeapStringCopyKeyValue = {
|
|||||||
_dictStringDestructor, /* key destructor */
|
_dictStringDestructor, /* key destructor */
|
||||||
_dictStringDestructor, /* val destructor */
|
_dictStringDestructor, /* val destructor */
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user