Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
e0be2289
Commit
e0be2289
authored
Jul 27, 2010
by
antirez
Browse files
hash table example commented out in dict.c
parent
b3aa6d71
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dict.c
View file @
e0be2289
...
...
@@ -615,6 +615,12 @@ void dictDisableResize(void) {
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 ------------------------*/
static unsigned int _dictStringCopyHTHashFunction(const void *key)
...
...
@@ -678,3 +684,4 @@ dictType dictTypeHeapStringCopyKeyValue = {
_dictStringDestructor, /* key destructor */
_dictStringDestructor, /* val destructor */
};
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment