This commit is contained in:
Nikolaj
2021-10-04 15:13:57 +02:00
parent 740d8bc1e0
commit 3f3346d22c
5 changed files with 5 additions and 8 deletions

View File

@@ -33,6 +33,9 @@ int id_query_loop(int argc, char** argv, mk_index_fn mk_index, free_index_fn fre
uint64_t runtime_sum = 0;
while (getline(&line, &line_len, stdin) != -1) {
if (line[0] == '\n') {
break;
}
int64_t needle = atol(line);
start = microseconds();