mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-25 22:30:51 +08:00
Merge pull request #3578 from ssbl/unused-parameter
Problem: unused parameter in benchmark function
This commit is contained in:
commit
d9dce8f068
@ -49,7 +49,6 @@ const int chars_len = 36;
|
||||
|
||||
template <class T>
|
||||
void benchmark_lookup (T &subscriptions_,
|
||||
std::vector<unsigned char *> &input_set_,
|
||||
std::vector<unsigned char *> &queries_)
|
||||
{
|
||||
using namespace std::chrono;
|
||||
@ -114,10 +113,10 @@ int main ()
|
||||
static_cast<unsigned long long> (nqueries),
|
||||
static_cast<unsigned long long> (key_length));
|
||||
std::puts ("[trie]");
|
||||
benchmark_lookup (trie, input_set, queries);
|
||||
benchmark_lookup (trie, queries);
|
||||
|
||||
std::puts ("[radix_tree]");
|
||||
benchmark_lookup (radix_tree, input_set, queries);
|
||||
benchmark_lookup (radix_tree, queries);
|
||||
|
||||
for (auto &op : input_set)
|
||||
delete[] op;
|
||||
|
Loading…
x
Reference in New Issue
Block a user