mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
add Clustered Hashing based Open Addressing Dict. To replace the existing dict, #define USE_OPEN_DICT
This commit is contained in:
parent
a243c0e4a6
commit
d3eeeb0f4c
4 changed files with 1339 additions and 1 deletions
10
src/Dict.cc
10
src/Dict.cc
|
@ -1,6 +1,10 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#include "Dict.h"
|
||||
#ifdef USE_OPEN_DICT
|
||||
|
||||
#include "OpenDict.cc"
|
||||
|
||||
#else//USE_OPEN_DICT
|
||||
|
||||
#include "zeek-config.h"
|
||||
|
||||
|
@ -1132,3 +1136,7 @@ void Dictionary::StopIteration(IterCookie* cookie) const
|
|||
}
|
||||
|
||||
} // namespace zeek
|
||||
|
||||
TEST_SUITE_END();
|
||||
|
||||
#endif//USE_OPEN_DICT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue