mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
add Clustered Hashing based Open Addressing Dict. To replace the existing dict, #define USE_OPEN_DICT
This commit is contained in:
parent
8f4138262f
commit
19f063f2a3
4 changed files with 1340 additions and 0 deletions
10
src/Dict.cc
10
src/Dict.cc
|
@ -1,5 +1,11 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifdef USE_OPEN_DICT
|
||||
|
||||
#include "OpenDict.cc"
|
||||
|
||||
#else//USE_OPEN_DICT
|
||||
|
||||
#include "zeek-config.h"
|
||||
|
||||
#ifdef HAVE_MEMORY_H
|
||||
|
@ -765,3 +771,7 @@ void generic_delete_func(void* v)
|
|||
}
|
||||
|
||||
} // namespace zeek
|
||||
|
||||
TEST_SUITE_END();
|
||||
|
||||
#endif//USE_OPEN_DICT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue