use r3_tree_matchl

This commit is contained in:
c9s 2014-05-19 11:04:19 +08:00
parent 06a128ddaa
commit 27a7826771
2 changed files with 2 additions and 1 deletions

View file

@ -329,3 +329,4 @@
1400466875,13515485.94 1400466875,13515485.94
1400467139,13047096.38 1400467139,13047096.38
1400467481,13594764.91 1400467481,13594764.91
1400468648,13474532.60

1 1400242718 5649455.80
329 1400466875 13515485.94
330 1400467139 13047096.38
331 1400467481 13594764.91
332 1400468648 13474532.60

View file

@ -722,7 +722,7 @@ r3_tree_insert_path(n, "/garply/grault/corge", NULL);
printf("Benchmarking...\n"); printf("Benchmarking...\n");
BENCHMARK(string_dispatch) BENCHMARK(string_dispatch)
r3_tree_match(n , "/qux/bar/corge", NULL); r3_tree_matchl(n , "/qux/bar/corge", strlen("/qux/bar/corge"), NULL);
END_BENCHMARK() END_BENCHMARK()
bench_print_summary(&B); bench_print_summary(&B);