Fix performance issue in benchmarks
This commit is contained in:
1 parent
0ac2c62ffe
commit
3d2ce63d63
2 files changed
+2
-7
No files matched your search
@@ -1,8 +1,3 @@
|
|||||||
#ifndef NDEBUG
|
|
||||||
#define NDEBUG
|
|
||||||
#endif
|
|
||||||
#undef NDEBUG
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "benchmark.h"
|
#include "benchmark.h"
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
#include "m-dict.h"
|
#include "m-dict.h"
|
||||||
#include "m-mempool.h"
|
#include "m-mempool.h"
|
||||||
|
|
||||||
DICT_DEF2(dict_int,
|
DICT_STOREHASH_DEF2(dict_int,
|
||||||
int, M_OPEXTEND(M_DEFAULT_OPLIST, MEMPOOL(mpool_int), MEMPOOL_LINKAGE(static)),
|
int, M_OPEXTEND(M_DEFAULT_OPLIST, MEMPOOL(mpool_int), MEMPOOL_LINKAGE(static)),
|
||||||
int, M_DEFAULT_OPLIST)
|
int, M_DEFAULT_OPLIST)
|
||||||
DICT_DEF2(dict_str,
|
DICT_STOREHASH_DEF2(dict_str,
|
||||||
const char *, M_OPEXTEND (M_CSTR_OPLIST, MEMPOOL(mpool_str), MEMPOOL_LINKAGE(static)),
|
const char *, M_OPEXTEND (M_CSTR_OPLIST, MEMPOOL(mpool_str), MEMPOOL_LINKAGE(static)),
|
||||||
int, M_DEFAULT_OPLIST)
|
int, M_DEFAULT_OPLIST)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user