From 51a422f161e7e7cc5b1093a12e004165754ec1b9 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 7 Oct 2017 15:45:37 +0200 Subject: Introduce IndexFile class --- src/util/query.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util') diff --git a/src/util/query.cc b/src/util/query.cc index f210613..f71b257 100644 --- a/src/util/query.cc +++ b/src/util/query.cc @@ -15,6 +15,7 @@ std::vector get_lines_starting_with( return std::vector{}; } + posix_fadvise(fileno(file), 0, 0, 1); // FDADVICE_SEQUENTIAL std::vector result; -- cgit v1.2.3