add Clustered Hashing based Open Addressing Dict. To replace the existing dict, #define USE_OPEN_DICT

This commit is contained in:
jasonlue 2019-09-10 11:20:24 -07:00 committed by Tim Wojtulewicz
parent a243c0e4a6
commit d3eeeb0f4c
4 changed files with 1339 additions and 1 deletions

View file

@ -1,4 +1,9 @@
// See the file "COPYING" in the main distribution directory for copyright.
#ifdef USE_OPEN_DICT
#include "OpenDict.h"
#else//USE_OPEN_DICT
#pragma once
@ -419,3 +424,5 @@ public:
using Dictionary [[deprecated("Remove in v4.1. Use zeek::Dictionary instead.")]] = zeek::Dictionary;
template<typename T> using PDict [[deprecated("Remove in v4.1. Use zeek::PDict instead.")]] = zeek::PDict<T>;
#endif//USE_OPEN_DICT