Skip to content

Commit b522b37

Browse files
committed
Unused variables.
1 parent afbf485 commit b522b37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/python/kd_tree.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def array_initialization():
108108

109109
def performance_test_pico_tree():
110110
print("*** Performance against scans.bin ***")
111-
# The benchmark documention, docs/benchmark.md section "Running a new
111+
# The benchmark documentation, docs/benchmark.md section "Running a new
112112
# benchmark", explains how to generate a scans.bin file from an online
113113
# dataset.
114114
try:
@@ -137,8 +137,8 @@ def performance_test_pico_tree():
137137
# doesn't represent the performance of the Python bindings. The bindings
138138
# also have various extra overhead: checks, memory creation, OpenMP, etc.
139139
# TODO It would be nice to measure the overhead w.r.t. the actual query.
140-
knns = t.search_knn(p, k)
141-
#dd, ii = t.query(p, k=k)
140+
unused_knns = t.search_knn(p, k)
141+
# unused_dd, unused_ii = t.query(p, k=k)
142142
cnt_query_time_after = perf_counter()
143143
print(
144144
f"{len(p)} points queried in {(cnt_query_time_after - cnt_query_time_before) * 1000.0}ms")

0 commit comments

Comments
 (0)