Make M*lib's bench fairest (and so slowest).
This commit is contained in:
1 parent
956df3a65d
commit
73a8577258
1 file changed
+1
-5
+1
-5
@@ -104,11 +104,7 @@ static void test_rbtree(size_t n)
|
|||||||
|
|
||||||
/********************************************************************************************/
|
/********************************************************************************************/
|
||||||
|
|
||||||
unsigned long ulong_hash(unsigned long t) { return (unsigned long) t; }
|
DICT_DEF2(ulong, unsigned long, M_DEFAULT_OPLIST, unsigned long, M_DEFAULT_OPLIST)
|
||||||
|
|
||||||
#define ULONG_OPLIST M_OPLIST_CAT((HASH(ulong_hash)), M_DEFAULT_OPLIST)
|
|
||||||
|
|
||||||
DICT_DEF2(ulong, unsigned long, ULONG_OPLIST, unsigned long, ULONG_OPLIST)
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
test_dict(unsigned long n)
|
test_dict(unsigned long n)
|
||||||
|
|||||||
Reference in new issue
Block a user