Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
e26f0941
Commit
e26f0941
authored
Jul 12, 2019
by
Shubham Lagwankar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: unused parameter in benchmark function
Solution: remove it
parent
9c5cf857
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
benchmark_radix_tree.cpp
perf/benchmark_radix_tree.cpp
+2
-3
No files found.
perf/benchmark_radix_tree.cpp
View file @
e26f0941
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment