|
@@ -10,7 +10,7 @@ extern "C" {
|
|
|
#include <arpa/inet.h>
|
|
#include <arpa/inet.h>
|
|
|
|
|
|
|
|
#include <set>
|
|
#include <set>
|
|
|
-#include <map>
|
|
|
|
|
|
|
+#include <unordered_map>
|
|
|
#ifdef LOG_MEM
|
|
#ifdef LOG_MEM
|
|
|
#include <stdio.h>
|
|
#include <stdio.h>
|
|
|
#endif
|
|
#endif
|
|
@@ -31,7 +31,7 @@ extern "C" {
|
|
|
static ofstream dp_file_stream;
|
|
static ofstream dp_file_stream;
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
-typedef map<std::string, pair<ZZ,ZZ> > DTable;
|
|
|
|
|
|
|
+typedef unordered_map<std::string, pair<ZZ,ZZ> > DTable;
|
|
|
|
|
|
|
|
typedef enum {
|
|
typedef enum {
|
|
|
DPSTATE_START,
|
|
DPSTATE_START,
|